1 implementation of GetEnvironmentVariable
Microsoft.DotNet.Cli.Utils (1)
EnvironmentProvider.cs (1)
107
public string?
GetEnvironmentVariable
(string name)
8 references to GetEnvironmentVariable
dotnet-aot (6)
parent\dotnet\NuGetSignatureVerificationEnabler.cs (1)
49
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\TelemetryClient.cs (1)
204
: environmentProvider.
GetEnvironmentVariable
(EnvironmentVariableNames.DOTNET_CLI_TELEMETRY_SESSIONID);
Microsoft.DotNet.Cli.Utils (1)
Env.cs (1)
31
s_environment.
GetEnvironmentVariable
(name);
Microsoft.NET.Build.Containers (1)
Registry\RegistrySettings.cs (1)
81
string? insecureRegistriesEnv = environment.
GetEnvironmentVariable
(EnvVariables.InsecureRegistries);