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; }
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; }
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; }