示例#1
0
 public void UninstallPackage(Package package)
 {
     _packageUninstaller.UninstallPackage(package);
 }
 public void InstallPackage(Package package)
 {
     _shellCommandRunner.RunCommandWihLogging("cinst " + package.Name);
 } 
示例#3
0
 public void InstallPackage(Package package)
 {
     _packageInstaller.InstallPackage(package);
 }
示例#4
0
 public void UninstallPackage(Package package)
 {
     var threadSafePackage = package.Clone();
     _jobQueue.EnqueueJob(_jobFactory.CreateJob("Uninstalling Package: " + package.Name, () => PackageManager.UninstallPackage(threadSafePackage)));
 }