public override void Run()
        {
            outputMessagesView.Clear();

            using (IManagePackagesView view = CreateManagePackagesView()) {
                view.ShowDialog();
            }
        }
 public DeployPackageViewModel(IPackageTask packageTask, IPackageProcessor packageProcessor, IPackageRepository packageRepository, IProgressNotifier progressNotifier, IWindowManager windowManager, IManagePackagesView managePackagesView)
 {
     this.packageTask = packageTask;
     this.packageProcessor = packageProcessor;
     this.packageRepository = packageRepository;
     this.progressNotifier = progressNotifier;
     this.windowManager = windowManager;
     this.managePackagesView = managePackagesView;
     this.progressNotifier.Progress += this.OnProgressUpdate;
 }
예제 #3
0
 public DeployPackageViewModel(
     INotificationManager notificationManager,
     IPackageDeployerTasks packageDeployerTasks,
     IWindowManager windowManager, 
     IManagePackagesView managePackagesView)
 {
     this.notificationManager = notificationManager;
     this.packageDeployerTasks = packageDeployerTasks;
     this.windowManager = windowManager;
     this.managePackagesView = managePackagesView;
     this.packageDeployerTasks.Progress += this.OnProgressUpdate;
 }
예제 #4
0
 public DeployPackageViewModel(
     IErrorLogger errorLogger,
     INotificationManager notificationManager,
     IPackageDeployerTasks packageDeployerTasks,
     IWindowManager windowManager,
     IManagePackagesView managePackagesView)
 {
     this.errorLogger                    = errorLogger;
     this.notificationManager            = notificationManager;
     this.packageDeployerTasks           = packageDeployerTasks;
     this.windowManager                  = windowManager;
     this.managePackagesView             = managePackagesView;
     this.packageDeployerTasks.Progress += this.OnProgressUpdate;
 }