14 references to IsContainer
Aspire.Hosting (5)
ApplicationModel\ExpressionResolver.cs (1)
63return (property, target.IsContainer(), HasBothHostAndPort()) switch
Dcp\ApplicationExecutor.cs (3)
200IResource r when r.IsContainer() => r, 1014containerHostAddress: appResource.ModelResource.IsContainer() ? containerHost : null, 1862if (modelResource.IsContainer())
Dcp\DcpNameGenerator.cs (1)
35if (resource.IsContainer())
Aspire.Hosting.Azure (1)
Provisioning\Provisioners\AzureProvisioner.cs (1)
56if (resource.IsContainer())
Aspire.Hosting.Azure.AppContainers (1)
AzureContainerAppsInfrastructure.cs (1)
50if (!r.IsContainer() && r is not ProjectResource)
Aspire.Hosting.Azure.Tests (6)
AzureBicepResourceTests.cs (3)
229Assert.True(cosmos.Resource.IsContainer()); 843Assert.True(redis.Resource.IsContainer()); 1847Assert.True(storage.Resource.IsContainer());
AzurePostgresExtensionsTests.cs (1)
280Assert.True(postgres.Resource.IsContainer(), "The resource should now be a container resource.");
AzureRedisExtensionsTests.cs (1)
152Assert.True(redis.Resource.IsContainer(), "The resource should now be a container resource.");
AzureSqlExtensionsTests.cs (1)
161Assert.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),