1 implementation of GetEnvironmentVariableAsBool
Microsoft.DotNet.Cli.Utils (1)
EnvironmentProvider.cs (1)
112
public bool
GetEnvironmentVariableAsBool
(string name, bool defaultValue)
6 references to GetEnvironmentVariableAsBool
dotnet (1)
Telemetry\TelemetryClient.cs (1)
117
Enabled = !environmentProvider.
GetEnvironmentVariableAsBool
(EnvironmentVariableNames.TELEMETRY_OPTOUT,
Microsoft.DotNet.Cli.Utils (1)
Env.cs (1)
24
s_environment.
GetEnvironmentVariableAsBool
(name, defaultValue);
Microsoft.NET.Build.Containers (4)
Registry\RegistrySettings.cs (4)
17
environment.
GetEnvironmentVariableAsBool
(EnvVariables.ForceChunkedUpload, defaultValue: false) :
18
environment.
GetEnvironmentVariableAsBool
(EnvVariables.ForceChunkedUploadLegacy, defaultValue: false);
20
environment.
GetEnvironmentVariableAsBool
(EnvVariables.ParallelUploadEnabled, defaultValue: true) :
21
environment.
GetEnvironmentVariableAsBool
(EnvVariables.ParallelUploadEnabledLegacy, defaultValue: true);