1 implementation of GetEnvironmentVariable
Microsoft.DotNet.Cli.Utils (1)
EnvironmentProvider.cs (1)
107
public string?
GetEnvironmentVariable
(string name)
12 references to GetEnvironmentVariable
dotnet-aot (8)
parent\dotnet\NuGetSignatureVerificationEnabler.cs (1)
64
string? value = (environmentProvider ?? s_environmentProvider).
GetEnvironmentVariable
(DotNetNuGetSignatureVerification);
parent\dotnet\ShellShim\LinuxEnvironmentPath.cs (1)
51
var value = _environmentProvider.
GetEnvironmentVariable
(PathName);
parent\dotnet\ShellShim\OsxBashEnvironmentPath.cs (1)
39
var value = _environmentProvider.
GetEnvironmentVariable
(PathName);
parent\dotnet\ShellShim\OsxZshEnvironmentPathInstruction.cs (1)
24
string value = _environmentProvider.
GetEnvironmentVariable
(PathName);
parent\dotnet\ShellShim\ZshDetector.cs (1)
18
string environmentVariable = environmentProvider.
GetEnvironmentVariable
("SHELL");
parent\dotnet\Telemetry\LLMEnvironmentDetectorForTelemetry.cs (2)
16
CreateDetectionRules(s_environmentProvider.
GetEnvironmentVariable
);
24
: CreateDetectionRules(environmentProvider.
GetEnvironmentVariable
);
parent\dotnet\Telemetry\TelemetryClient.cs (1)
201
: environmentProvider.
GetEnvironmentVariable
(EnvironmentVariableNames.DOTNET_CLI_TELEMETRY_SESSIONID);
Microsoft.DotNet.Cli.Utils (1)
Env.cs (1)
31
s_environment.
GetEnvironmentVariable
(name);
Microsoft.NET.Build.Containers (3)
AuthRealmHandlerFactory.cs (2)
90
string? allowedAddresses = _environment.
GetEnvironmentVariable
(RegistrySettings.EnvVariables.AuthRealmAllowedAddresses);
114
string? value = _environment.
GetEnvironmentVariable
(RegistrySettings.EnvVariables.AuthRealmPolicy)?.Trim();
Registry\RegistrySettings.cs (1)
94
string? insecureRegistriesEnv = environment.
GetEnvironmentVariable
(EnvVariables.InsecureRegistries);