1 write to _options
Aspire.Hosting (1)
Dcp\PersistentPortAllocator.cs (1)
35
_options
= options.Value;
9 references to _options
Aspire.Hosting (9)
Dcp\PersistentPortAllocator.cs (9)
41
public bool PersistenceEnabled => _store.IsAvailable && (!
_options
.RandomizePorts ||
_options
.PersistPortsInIsolatedMode);
86
if (port >=
_options
.ProxylessEndpointPortRangeStart &&
87
port <=
_options
.ProxylessEndpointPortRangeEnd)
96
_options
.ProxylessEndpointPortRangeStart,
97
_options
.ProxylessEndpointPortRangeEnd);
128
if (DcpModelUtilities.TryGetEffectiveFixedPublicPort(resource, endpoint,
_options
.RandomizePorts, out var fixedPublicPort))
140
if (DcpModelUtilities.NeedsGeneratedPublicPort(resource, endpoint,
_options
.RandomizePorts))
171
allowInUse: activePort.AllowInUse && !
_options
.RandomizePorts))