17 references to IsContainer
Aspire.Hosting (8)
ApplicationModel\ExpressionResolver.cs (1)
61
return (property, target.
IsContainer
(), HasBothHostAndPort()) switch
ApplicationModel\ResourceExtensions.cs (5)
290
(DistributedApplicationOperation.Run, IValueProvider provider) => await GetValue(key: null, provider, logger, resource.
IsContainer
(), containerHostName, cancellationToken).ConfigureAwait(false),
291
(DistributedApplicationOperation.Run, IResourceBuilder<IResource> rb) when rb.Resource is IValueProvider provider => await GetValue(key: null, provider, logger, resource.
IsContainer
(), containerHostName, cancellationToken).ConfigureAwait(false),
339
(DistributedApplicationOperation.Run, IValueProvider provider) => await GetValue(key, provider, logger, resource.
IsContainer
(), containerHostName, cancellationToken).ConfigureAwait(false),
340
(DistributedApplicationOperation.Run, IResourceBuilder<IResource> rb) when rb.Resource is IValueProvider provider => await GetValue(key, provider, logger, resource.
IsContainer
(), containerHostName, cancellationToken).ConfigureAwait(false),
386
IValueProvider valueProvider => (await GetValue(key: null, valueProvider, logger, resource.
IsContainer
(), containerHostName, cancellationToken).ConfigureAwait(false))?.Value,
Dcp\DcpExecutor.cs (1)
700
containerHostAddress: appResource.ModelResource.
IsContainer
() ? containerHost : null,
Dcp\DcpNameGenerator.cs (1)
35
if (resource.
IsContainer
())
Aspire.Hosting.Azure (2)
Provisioning\Provisioners\AzureProvisioner.cs (1)
56
if (resource.
IsContainer
())
Provisioning\Provisioners\BicepProvisioner.cs (1)
27
=> !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
());
1121
Assert.True(redis.Resource.
IsContainer
());
2069
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)
155
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.");