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