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