14 references to IsContainer
Aspire.Hosting (5)
ApplicationModel\ExpressionResolver.cs (1)
63
return (property, target.
IsContainer
(), HasBothHostAndPort()) switch
Dcp\ApplicationExecutor.cs (3)
200
IResource r when r.
IsContainer
() => r,
995
containerHostAddress: appResource.ModelResource.
IsContainer
() ? containerHost : null,
1843
if (modelResource.
IsContainer
())
Dcp\DcpNameGenerator.cs (1)
35
if (resource.
IsContainer
())
Aspire.Hosting.Azure (1)
Provisioning\Provisioners\AzureProvisioner.cs (1)
55
if (resource.
IsContainer
())
Aspire.Hosting.Azure.AppContainers (1)
AzureContainerAppsInfrastructure.cs (1)
50
if (!r.
IsContainer
() && r is not ProjectResource)
Aspire.Hosting.Azure.Tests (6)
AzureBicepResourceTests.cs (3)
229
Assert.True(cosmos.Resource.
IsContainer
());
843
Assert.True(redis.Resource.
IsContainer
());
1847
Assert.True(storage.Resource.
IsContainer
());
AzurePostgresExtensionsTests.cs (1)
280
Assert.True(postgres.Resource.
IsContainer
(), "The resource should now be a container resource.");
AzureRedisExtensionsTests.cs (1)
152
Assert.True(redis.Resource.
IsContainer
(), "The resource should now be a container resource.");
AzureSqlExtensionsTests.cs (1)
161
Assert.True(sql.Resource.
IsContainer
(), "The resource should now be a container resource.");
Aspire.Hosting.Tests (1)
Utils\EnvironmentVariableEvaluator.cs (1)
38
(DistributedApplicationOperation.Run, IValueProvider provider) => await ExpressionResolver.ResolveAsync(resource.
IsContainer
(), provider, containerHostName, CancellationToken.None),