1 implementation of EnvironmentVariables
Aspire.Hosting (1)
ApplicationModel\ProcessedResourceExecutionConfiguration.cs (1)
24
public IEnumerable<KeyValuePair<string, string>>
EnvironmentVariables
=> EnvironmentVariablesWithUnprocessed.Select(kvp => new KeyValuePair<string, string>(kvp.Key, kvp.Value.Processed));
8 references to EnvironmentVariables
Aspire.Hosting (3)
ApplicationModel\ResourceExtensions.cs (1)
235
return executionConfiguration.
EnvironmentVariables
.ToDictionary();
Dcp\DcpExecutor.cs (2)
1699
spec.Env = configuration.
EnvironmentVariables
.Select(kvp => new EnvVar { Name = kvp.Key, Value = kvp.Value }).ToList();
2088
spec.Env = configuration.
EnvironmentVariables
.Select(kvp => new EnvVar { Name = kvp.Key, Value = kvp.Value }).ToList();
Aspire.Hosting.Maui (3)
Utilities\MauiEnvironmentHelper.cs (3)
49
foreach (var envVar in executionConfiguration.
EnvironmentVariables
)
234
if (!executionConfiguration.
EnvironmentVariables
.Any())
250
var targetsContent = GenerateiOSTargetsFileContent(executionConfiguration.
EnvironmentVariables
.ToDictionary());
Aspire.Hosting.Tests (2)
Dashboard\DashboardLifecycleHookTests.cs (1)
153
var environmentVariables = dashboardEnvironment.
EnvironmentVariables
.ToDictionary();
Utils\EnvironmentVariableEvaluator.cs (1)
30
return executionConfiguration.
EnvironmentVariables
.ToDictionary();