1 implementation of IEnvironmentProvider
Microsoft.DotNet.Cli.Utils (1)
EnvironmentProvider.cs (1)
11
IEnumerable<string>? searchPathsOverride = null) :
IEnvironmentProvider
39 references to IEnvironmentProvider
dotnet (36)
BuildServer\BuildServerProvider.cs (2)
15
IEnvironmentProvider
environmentProvider = null,
20
private readonly
IEnvironmentProvider
_environmentProvider = environmentProvider ?? new EnvironmentProvider();
CommandFactory\CommandResolution\AbstractPathBasedCommandResolver.cs (2)
13
protected
IEnvironmentProvider
_environment;
16
public AbstractPathBasedCommandResolver(
IEnvironmentProvider
environment,
CommandFactory\CommandResolution\AppBaseCommandResolver.cs (1)
10
public class AppBaseCommandResolver(
IEnvironmentProvider
environment,
CommandFactory\CommandResolution\DefaultCommandResolverPolicy.cs (1)
42
IEnvironmentProvider
environment,
CommandFactory\CommandResolution\GenericPlatformCommandSpecFactory.cs (1)
16
IEnvironmentProvider
environment)
CommandFactory\CommandResolution\IPlatformCommandSpecFactory.cs (1)
16
IEnvironmentProvider
environment);
CommandFactory\CommandResolution\PathCommandResolver.cs (1)
10
public class PathCommandResolver(
IEnvironmentProvider
environment,
CommandFactory\CommandResolution\ProjectDependenciesCommandResolver.cs (3)
17
private readonly
IEnvironmentProvider
_environment;
21
IEnvironmentProvider
environment,
158
private static IEnumerable<string> GetAllowedCommandExtensionsFromEnvironment(
IEnvironmentProvider
environment)
CommandFactory\CommandResolution\ProjectFactory.cs (2)
13
internal class ProjectFactory(
IEnvironmentProvider
environment)
17
private readonly
IEnvironmentProvider
_environment = environment;
CommandFactory\CommandResolution\ProjectPathCommandResolver.cs (1)
11
public class ProjectPathCommandResolver(
IEnvironmentProvider
environment,
CommandFactory\CommandResolution\ProjectToolsCommandResolver.cs (2)
18
IEnvironmentProvider
environment) : ICommandResolver
25
private readonly
IEnvironmentProvider
_environment = environment;
CommandFactory\CommandResolution\PublishedPathCommandResolver.cs (2)
12
IEnvironmentProvider
environment,
17
private readonly
IEnvironmentProvider
_environment = environment;
CommandFactory\CommandResolution\ScriptCommandResolverPolicy.cs (1)
30
IEnvironmentProvider
environment,
CommandFactory\CommandResolution\WindowsExePreferredCommandSpecFactory.cs (1)
16
IEnvironmentProvider
environment)
NuGetSignatureVerificationEnabler.cs (3)
15
public static void ConditionallyEnable(ForwardingApp forwardingApp,
IEnvironmentProvider
? environmentProvider = null)
29
public static void ConditionallyEnable(MSBuildForwardingApp forwardingApp,
IEnvironmentProvider
? environmentProvider = null)
43
private static string GetSignatureVerificationEnablementValue(
IEnvironmentProvider
? environmentProvider)
ShellShim\EnvironmentPathFactory.cs (2)
14
IEnvironmentProvider
? environmentProvider = null)
56
IEnvironmentProvider
? environmentProvider = null)
ShellShim\LinuxEnvironmentPath.cs (2)
15
private readonly
IEnvironmentProvider
_environmentProvider;
27
IEnvironmentProvider
environmentProvider,
ShellShim\OsxBashEnvironmentPath.cs (2)
15
IEnvironmentProvider
environmentProvider,
22
private readonly
IEnvironmentProvider
_environmentProvider = environmentProvider ?? throw new ArgumentNullException(nameof(environmentProvider));
ShellShim\OsxZshEnvironmentPathInstruction.cs (2)
14
IEnvironmentProvider
environmentProvider
19
private readonly
IEnvironmentProvider
_environmentProvider = environmentProvider ?? throw new ArgumentNullException(nameof(environmentProvider));
ShellShim\WindowsEnvironmentPath.cs (2)
13
IEnvironmentProvider
expandedEnvironmentReader,
26
private readonly
IEnvironmentProvider
_expandedEnvironmentReader = expandedEnvironmentReader ?? throw new ArgumentNullException(nameof(expandedEnvironmentReader));
ShellShim\ZshDetector.cs (1)
16
public static bool IsZshTheUsersShell(
IEnvironmentProvider
environmentProvider)
Telemetry\TelemetryClient.cs (1)
108
public TelemetryClient(string? sessionId,
IEnvironmentProvider
? environmentProvider = null)
Microsoft.DotNet.Cli.Utils (1)
Env.cs (1)
10
private static readonly
IEnvironmentProvider
s_environment = new EnvironmentProvider();
Microsoft.NET.Build.Containers (2)
Registry\RegistrySettings.cs (2)
10
public RegistrySettings(string? registryName = null,
IEnvironmentProvider
? environment = null)
71
private static bool IsInsecureRegistry(
IEnvironmentProvider
environment, string registryName)