11 references to IsAllocated
Aspire.Hosting (2)
Dcp\ApplicationExecutor.cs (2)
786
if (ep.
IsAllocated
)
795
if (ep.
IsAllocated
)
Aspire.Hosting.Dapr (3)
DaprDistributedApplicationLifecycleHook.cs (3)
195
if (sidecarOptions?.AppPort is null && endPoint is { appEndpoint.
IsAllocated
: true })
215
if (sidecarOptions?.AppChannelAddress is null && endPoint is { appEndpoint.
IsAllocated
: true })
219
if (sidecarOptions?.AppProtocol is null && endPoint is { appEndpoint.
IsAllocated
: true })
Aspire.Hosting.MySql (2)
MySqlBuilderExtensions.cs (2)
128
if (singleInstance.PrimaryEndpoint.
IsAllocated
)
152
if (mySqlInstance.PrimaryEndpoint.
IsAllocated
)
Aspire.Hosting.PostgreSQL (1)
PostgresBuilderExtensions.cs (1)
180
if (postgresInstance.PrimaryEndpoint.
IsAllocated
)
Aspire.Hosting.Testing (1)
DistributedApplicationHostingTestingExtensions.cs (1)
118
return reference.
IsAllocated
? reference : null;
Aspire.Hosting.Tests (1)
DistributedApplicationTests.cs (1)
164
Assert.True(resourceWithEndpoints.GetEndpoints().All(e => e.
IsAllocated
));
Stress.AppHost (1)
ResourceBuilderExtensions.cs (1)
51
if (!endpoint.
IsAllocated
)