17 references to GetValue
Aspire.Hosting (6)
Backchannel\BackchannelService.cs (2)
26
public bool IsBackchannelExpected => configuration.
GetValue
<string>(KnownConfigNames.UnixSocketPath) is {};
36
var unixSocketPath = configuration.
GetValue
<string>(KnownConfigNames.UnixSocketPath);
Devcontainers\Codespaces\CodespacesOptions.cs (1)
51
return configuration.
GetValue
<string>(key) ?? throw new DistributedApplicationException($"Codespaces was detected but {key} environment missing.");
Devcontainers\SshRemoteOptions.cs (2)
31
var hasVscodeIpcHook = !string.IsNullOrEmpty(configuration.
GetValue
<string>(VscodeIpcHookCliEnvironmentVariable));
32
var hasSshConnection = !string.IsNullOrEmpty(configuration.
GetValue
<string>(SshConnectionEnvironmentVariable));
DistributedApplicationBuilder.cs (1)
899
var clearCache = _innerBuilder.Configuration.
GetValue
<bool>("Pipeline:ClearCache");
Aspire.Hosting.DevTunnels (1)
DevTunnelCliClient.cs (1)
13
private readonly int _maxCliAttempts = configuration.
GetValue
<int?>("ASPIRE_DEVTUNNEL_CLI_MAX_ATTEMPTS") ?? 3;
Microsoft.Extensions.AI.Evaluation.Integration.Tests (8)
Settings.cs (8)
27
config.
GetValue
<string>("DeploymentName") ??
31
config.
GetValue
<string>("ModelName") ??
35
config.
GetValue
<string>("Endpoint") ??
39
config.
GetValue
<string>("StorageRootPath") ??
43
config.
GetValue
<string>("AzureSubscriptionId")
47
config.
GetValue
<string>("AzureResourceGroupName")
51
config.
GetValue
<string>("AzureAIProjectName")
55
config.
GetValue
<string>("AzureAIProjectEndpoint")
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (2)
Settings.cs (2)
21
config.
GetValue
<string>("StorageAccountEndpoint")
25
config.
GetValue
<string>("StorageContainerName")