public NuGetManager(INuspecFilesGenerator nuspecFilesGenerator, INugetPacker nugetPacker, INugetPackageRestorer nugetPackageRestorer, INugetPackagesProvider nugetPackagesProvider, IPackageInfoProvider packageInfoProvider, IApplicationPackageListProvider applicationPackageListProvider, IPackageArchiver packageArchiver, IDotnetExecutor dotnetExecutor, IFileSystem fileSystem, ILogger logger) { nuspecFilesGenerator.CheckArgumentNull(nameof(nuspecFilesGenerator)); nugetPacker.CheckArgumentNull(nameof(nugetPacker)); nugetPackageRestorer.CheckArgumentNull(nameof(nugetPackageRestorer)); nugetPackagesProvider.CheckArgumentNull(nameof(nugetPackagesProvider)); packageInfoProvider.CheckArgumentNull(nameof(packageInfoProvider)); applicationPackageListProvider.CheckArgumentNull(nameof(applicationPackageListProvider)); packageArchiver.CheckArgumentNull(nameof(packageArchiver)); dotnetExecutor.CheckArgumentNull(nameof(dotnetExecutor)); fileSystem.CheckArgumentNull(nameof(fileSystem)); logger.CheckArgumentNull(nameof(logger)); _nuspecFilesGenerator = nuspecFilesGenerator; _nugetPacker = nugetPacker; _nugetPackageRestorer = nugetPackageRestorer; _nugetPackagesProvider = nugetPackagesProvider; _packageInfoProvider = packageInfoProvider; _applicationPackageListProvider = applicationPackageListProvider; _packageArchiver = packageArchiver; _dotnetExecutor = dotnetExecutor; _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; }