Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public PushNuGetPackagesCommand(INuGetManager nugetManager)
 {
     nugetManager.CheckArgumentNull(nameof(nugetManager));
     _nugetManager = nugetManager;
 }
 public RestoreNugetPackageCommand(INuGetManager nugetManager)
 {
     nugetManager.CheckArgumentNull(nameof(nugetManager));
     _nugetManager = nugetManager;
 }
Esempio n. 4
0
 public CheckNugetUpdateCommand(INuGetManager nugetManager)
 {
     nugetManager.CheckArgumentNull(nameof(nugetManager));
     _nugetManager = nugetManager;
 }