1 implementation of IEnvironment
Microsoft.TestPlatform.PlatformAbstractions (1)
netcore\System\PlatformEnvironment.cs (1)
14public class PlatformEnvironment : IEnvironment
57 references to IEnvironment
datacollector (4)
DataCollectorMain.cs (2)
52private readonly IEnvironment _environment; 66internal DataCollectorMain(IProcessHelper processHelper, IEnvironment environment, IDataCollectionRequestHandler requestHandler, UiLanguageOverride uiLanguageOverride)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (2)
32private readonly IEnvironment _environment; 35public ProcDumpExecutableHelper(IProcessHelper processHelper, IFileHelper fileHelper, IEnvironment environment, IEnvironmentVariableHelper environmentVariableHelper)
datacollector.arm64 (4)
parent\datacollector\DataCollectorMain.cs (2)
52private readonly IEnvironment _environment; 66internal DataCollectorMain(IProcessHelper processHelper, IEnvironment environment, IDataCollectionRequestHandler requestHandler, UiLanguageOverride uiLanguageOverride)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (2)
32private readonly IEnvironment _environment; 35public ProcDumpExecutableHelper(IProcessHelper processHelper, IFileHelper fileHelper, IEnvironment environment, IEnvironmentVariableHelper environmentVariableHelper)
Microsoft.TestPlatform.CoreUtilities (3)
Helpers\DotnetHostHelper.cs (3)
34private readonly IEnvironment _environment; 52public DotnetHostHelper(IFileHelper fileHelper, IEnvironment environment) : this(fileHelper, environment, new WindowsRegistryHelper(), new EnvironmentVariableHelper(), new ProcessHelper()) 66IEnvironment environment,
Microsoft.TestPlatform.CrossPlatEngine (2)
TestEngine.cs (2)
38private readonly IEnvironment _environment; 57IEnvironment environment)
Microsoft.TestPlatform.Extensions.BlameDataCollector (5)
ProcDumpDumper.cs (3)
34private readonly IEnvironment _environment; 53public ProcDumpDumper(IProcessHelper processHelper, IFileHelper fileHelper, IEnvironment environment) : 61internal ProcDumpDumper(IProcessHelper processHelper, IFileHelper fileHelper, IEnvironment environment, IEnvironmentVariableHelper environmentVariableHelper)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (2)
32private readonly IEnvironment _environment; 35public ProcDumpExecutableHelper(IProcessHelper processHelper, IFileHelper fileHelper, IEnvironment environment, IEnvironmentVariableHelper environmentVariableHelper)
Microsoft.TestPlatform.PlatformAbstractions (1)
common\System\ProcessHelper.cs (1)
37internal ProcessHelper(IEnvironment environment)
Microsoft.TestPlatform.TestHostRuntimeProvider (4)
Hosting\DefaultTestHostManager.cs (2)
58private readonly IEnvironment _environment; 95IEnvironment environment,
Hosting\DotnetTestHostManager.cs (2)
65private readonly IEnvironment _platformEnvironment; 118IEnvironment platformEnvironment,
Microsoft.VisualStudio.TestPlatform.Client (2)
DesignMode\DesignModeClient.cs (2)
43private readonly IEnvironment _platformEnvironment; 74internal DesignModeClient(ICommunicationManager communicationManager, IDataSerializer dataSerializer, IEnvironment platformEnvironment)
testhost (2)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (2)
32private readonly IEnvironment _environment; 35public ProcDumpExecutableHelper(IProcessHelper processHelper, IFileHelper fileHelper, IEnvironment environment, IEnvironmentVariableHelper environmentVariableHelper)
testhost.arm64 (2)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (2)
32private readonly IEnvironment _environment; 35public ProcDumpExecutableHelper(IProcessHelper processHelper, IFileHelper fileHelper, IEnvironment environment, IEnvironmentVariableHelper environmentVariableHelper)
testhost.x86 (2)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (2)
32private readonly IEnvironment _environment; 35public ProcDumpExecutableHelper(IProcessHelper processHelper, IFileHelper fileHelper, IEnvironment environment, IEnvironmentVariableHelper environmentVariableHelper)
vstest.console (13)
CommandLine\Executor.cs (4)
65private readonly IEnvironment _environment; 103internal Executor(IOutput output, ITestPlatformEventSource testPlatformEventSource, IProcessHelper processHelper, IEnvironment environment) 108internal Executor(IOutput output, ITestPlatformEventSource testPlatformEventSource, IProcessHelper processHelper, IEnvironment environment, IRunSettingsProvider runSettingsProvider) 113internal Executor(IOutput output, ITestPlatformEventSource testPlatformEventSource, IProcessHelper processHelper, IEnvironment environment, IRunSettingsProvider runSettingsProvider, IRunSettingsHelper runSettingsHelper, CommandLineOptions commandLineOptions, TestRunResultAggregator testRunResultAggregator, ITestRequestManager? testRequestManager = null)
Processors\AeDebuggerArgumentProcessor.cs (2)
70private readonly IEnvironment _environment; 78public AeDebuggerArgumentExecutor(IEnvironment environment, IFileHelper fileHelper, IProcessHelper processHelper, IOutput output, IEnvironmentVariableHelper environmentVariableHelper)
Processors\EnableBlameArgumentProcessor.cs (2)
105private readonly IEnvironment _environment; 112internal EnableBlameArgumentExecutor(IRunSettingsProvider runSettingsManager, IEnvironment environment, IFileHelper fileHelper)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (2)
32private readonly IEnvironment _environment; 35public ProcDumpExecutableHelper(IProcessHelper processHelper, IFileHelper fileHelper, IEnvironment environment, IEnvironmentVariableHelper environmentVariableHelper)
TestPlatformHelpers\TestRequestManager.cs (3)
64private readonly IEnvironment _environment; 121IEnvironment environment, 147IEnvironment environment,
vstest.console.arm64 (13)
parent\vstest.console\CommandLine\Executor.cs (4)
65private readonly IEnvironment _environment; 103internal Executor(IOutput output, ITestPlatformEventSource testPlatformEventSource, IProcessHelper processHelper, IEnvironment environment) 108internal Executor(IOutput output, ITestPlatformEventSource testPlatformEventSource, IProcessHelper processHelper, IEnvironment environment, IRunSettingsProvider runSettingsProvider) 113internal Executor(IOutput output, ITestPlatformEventSource testPlatformEventSource, IProcessHelper processHelper, IEnvironment environment, IRunSettingsProvider runSettingsProvider, IRunSettingsHelper runSettingsHelper, CommandLineOptions commandLineOptions, TestRunResultAggregator testRunResultAggregator, ITestRequestManager? testRequestManager = null)
parent\vstest.console\Processors\AeDebuggerArgumentProcessor.cs (2)
70private readonly IEnvironment _environment; 78public AeDebuggerArgumentExecutor(IEnvironment environment, IFileHelper fileHelper, IProcessHelper processHelper, IOutput output, IEnvironmentVariableHelper environmentVariableHelper)
parent\vstest.console\Processors\EnableBlameArgumentProcessor.cs (2)
105private readonly IEnvironment _environment; 112internal EnableBlameArgumentExecutor(IRunSettingsProvider runSettingsManager, IEnvironment environment, IFileHelper fileHelper)
parent\vstest.console\TestPlatformHelpers\TestRequestManager.cs (3)
64private readonly IEnvironment _environment; 121IEnvironment environment, 147IEnvironment environment,
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (2)
32private readonly IEnvironment _environment; 35public ProcDumpExecutableHelper(IProcessHelper processHelper, IFileHelper fileHelper, IEnvironment environment, IEnvironmentVariableHelper environmentVariableHelper)