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