Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public GetPkgListCommand(EnvironmentSettings environmentSettings,
                          IApplicationPackageListProvider applicationPackageListProvider)
 {
     environmentSettings.CheckArgumentNull(nameof(environmentSettings));
     applicationPackageListProvider.CheckArgumentNull(nameof(applicationPackageListProvider));
     _environmentSettings            = environmentSettings;
     _applicationPackageListProvider = applicationPackageListProvider;
 }