22 references to GetValue
aspire (1)
src\Shared\FileUploadHelpers.cs (1)
21
return configuration.
GetValue
<long?>(KnownConfigNames.MaxFileUploadSize) ?? DefaultMaxFileUploadSize;
Aspire.Hosting (8)
Backchannel\BackchannelService.cs (2)
28
public bool IsBackchannelExpected => configuration.
GetValue
<string>(KnownConfigNames.UnixSocketPath) is {};
38
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)
1022
var clearCache = _innerBuilder.Configuration.
GetValue
<bool>("Pipeline:ClearCache");
Publishing\PipelineExecutor.cs (1)
48
if (configuration.
GetValue
<bool>("Pipeline:ListSteps"))
src\Shared\FileUploadHelpers.cs (1)
21
return configuration.
GetValue
<long?>(KnownConfigNames.MaxFileUploadSize) ?? DefaultMaxFileUploadSize;
Aspire.Hosting.DevTunnels (1)
DevTunnelCliClient.cs (1)
28
_maxCliAttempts = configuration.
GetValue
<int?>("ASPIRE_DEVTUNNEL_CLI_MAX_ATTEMPTS") ?? 3;
blazor-devserver (2)
Server\Startup.cs (2)
40
var applyCopHeaders = configuration.
GetValue
<bool>("ApplyCopHeaders");
98
var pathBase = configuration.
GetValue
<string>("pathbase");
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")