Implemented interface member:
property
Environment
Aspire.Hosting.IDistributedApplicationBuilder.Environment
7 references to Environment
Aspire.Hosting.Tests (7)
PublishAsDockerfileTests.cs (4)
40
"NODE_ENV": "{{builder.
Environment
.EnvironmentName.ToLowerInvariant()}}"
91
"NODE_ENV": "{{builder.
Environment
.EnvironmentName.ToLowerInvariant()}}"
134
"NODE_ENV": "{{builder.
Environment
.EnvironmentName.ToLowerInvariant()}}"
196
"NODE_ENV": "{{builder.
Environment
.EnvironmentName.ToLowerInvariant()}}"
Utils\TestDistributedApplicationBuilder.cs (1)
46
$"{VolumeNameGenerator.Sanitize(
Environment
.ApplicationName).ToLowerInvariant()}-{Configuration["AppHost:Sha256"]!.ToLowerInvariant()[..10]}";
Utils\VolumeNameGeneratorTests.cs (2)
58
var runVolumePrefix = $"{Sanitize(runBuilder.
Environment
.ApplicationName).ToLowerInvariant()}-{runBuilder.Configuration["AppHost:Sha256"]!.ToLowerInvariant()[..10]}";
59
var publishVolumePrefix = $"{Sanitize(publishBuilder.
Environment
.ApplicationName).ToLowerInvariant()}-{publishBuilder.Configuration["AppHost:Sha256"]!.ToLowerInvariant()[..10]}";