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; }
public DotnetExecutor(IProcessExecutor processExecutor) { processExecutor.CheckArgumentNull(nameof(processExecutor)); _processExecutor = processExecutor; }