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 InstallNugetPackage(INuGetManager nugetManager, IPackageInstaller packageInstaller, IPackageArchiver packageArchiver, IWorkingDirectoriesProvider workingDirectoriesProvider) { nugetManager.CheckArgumentNull(nameof(nugetManager)); packageInstaller.CheckArgumentNull(nameof(packageInstaller)); packageArchiver.CheckArgumentNull(nameof(packageArchiver)); workingDirectoriesProvider.CheckArgumentNull(nameof(workingDirectoriesProvider)); _nugetManager = nugetManager; _packageInstaller = packageInstaller; _packageArchiver = packageArchiver; _workingDirectoriesProvider = workingDirectoriesProvider; }
public NugetPacker(ITemplateProvider templateProvider, IDotnetExecutor dotnetExecutor, IWorkingDirectoriesProvider workingDirectoriesProvider, IFileSystem fileSystem, ILogger logger) { dotnetExecutor.CheckArgumentNull(nameof(dotnetExecutor)); templateProvider.CheckArgumentNull(nameof(templateProvider)); workingDirectoriesProvider.CheckArgumentNull(nameof(workingDirectoriesProvider)); fileSystem.CheckArgumentNull(nameof(fileSystem)); logger.CheckArgumentNull(nameof(logger)); _dotnetExecutor = dotnetExecutor; _templateProvider = templateProvider; _workingDirectoriesProvider = workingDirectoriesProvider; _fileSystem = fileSystem; _logger = logger; }
public PackageArchiver(IPackageUtilities packageUtilities, ICompressionUtilities compressionUtilities, IWorkingDirectoriesProvider workingDirectoriesProvider, IFileSystem fileSystem, ILogger logger) { packageUtilities.CheckArgumentNull(nameof(packageUtilities)); compressionUtilities.CheckArgumentNull(nameof(compressionUtilities)); workingDirectoriesProvider.CheckArgumentNull(nameof(workingDirectoriesProvider)); fileSystem.CheckArgumentNull(nameof(fileSystem)); logger.CheckArgumentNull(nameof(logger)); _packageUtilities = packageUtilities; _compressionUtilities = compressionUtilities; _workingDirectoriesProvider = workingDirectoriesProvider; _fileSystem = fileSystem; _logger = logger; }
public NugetPackageRestorer(INugetPackagesProvider nugetPackagesProvider, IPackageArchiver packageArchiver, ITemplateProvider templateProvider, IDotnetExecutor dotnetExecutor, IWorkingDirectoriesProvider workingDirectoriesProvider, IFileSystem fileSystem, ILogger logger) { nugetPackagesProvider.CheckArgumentNull(nameof(nugetPackagesProvider)); packageArchiver.CheckArgumentNull(nameof(packageArchiver)); dotnetExecutor.CheckArgumentNull(nameof(dotnetExecutor)); templateProvider.CheckArgumentNull(nameof(templateProvider)); workingDirectoriesProvider.CheckArgumentNull(nameof(workingDirectoriesProvider)); fileSystem.CheckArgumentNull(nameof(fileSystem)); logger.CheckArgumentNull(nameof(logger)); _nugetPackagesProvider = nugetPackagesProvider; _packageArchiver = packageArchiver; _dotnetExecutor = dotnetExecutor; _templateProvider = templateProvider; _workingDirectoriesProvider = workingDirectoriesProvider; _fileSystem = fileSystem; _logger = logger; }
public TemplateProvider(IWorkingDirectoriesProvider workingDirectoriesProvider) { workingDirectoriesProvider.CheckArgumentNull(nameof(workingDirectoriesProvider)); _workingDirectoriesProvider = workingDirectoriesProvider; }