コード例 #1
0
 public NugetExecutor(EnvironmentSettings environmentSettings, IProcessExecutor processExecutor,
                      IWorkingDirectoriesProvider workingDirectoriesProvider)
 {
     environmentSettings.CheckArgumentNull(nameof(environmentSettings));
     processExecutor.CheckArgumentNull(nameof(processExecutor));
     workingDirectoriesProvider.CheckArgumentNull(nameof(workingDirectoriesProvider));
     _environmentSettings        = environmentSettings;
     _processExecutor            = processExecutor;
     _workingDirectoriesProvider = workingDirectoriesProvider;
 }
コード例 #2
0
 public DotnetExecutor(IProcessExecutor processExecutor)
 {
     processExecutor.CheckArgumentNull(nameof(processExecutor));
     _processExecutor = processExecutor;
 }