public CreatePackageViewModel(
     INotificationManager notificationManager,
     IPackageCreatorTasks packageCreatorTasks,
     IWindowManager windowManager,
     IManageExclusionsView manageExclusionsView)
 {
     this.notificationManager = notificationManager;
     this.packageCreatorTasks = packageCreatorTasks;
     this.windowManager = windowManager;
     this.manageExclusionsView = manageExclusionsView;
     this.packageCreatorTasks.Progress += this.OnProgressUpdate;
 }
Beispiel #2
0
 public CreatePackageViewModel(
     IErrorLogger errorLogger,
     INotificationManager notificationManager,
     IPackageCreatorTasks packageCreatorTasks,
     IWindowManager windowManager,
     IManageExclusionsView manageExclusionsView)
 {
     this.errorLogger                   = errorLogger;
     this.notificationManager           = notificationManager;
     this.packageCreatorTasks           = packageCreatorTasks;
     this.windowManager                 = windowManager;
     this.manageExclusionsView          = manageExclusionsView;
     this.packageCreatorTasks.Progress += this.OnProgressUpdate;
 }
 public CreatePackageViewModel(
     IArchiveBuilder archiveBuilder, 
     ICleanUpProcessor cleanUpProcessor, 
     IClonePackageBuilder clonePackageBuilder,
     IPackageBuilder packageBuilder,
     IPackageTokeniser packageTokeniser,
     IProgressNotifier progressNotifier,
     IWindowManager windowManager,
     IManageExclusionsView manageExclusionsView)
 {
     this.archiveBuilder = archiveBuilder;
     this.cleanUpProcessor = cleanUpProcessor;
     this.clonePackageBuilder = clonePackageBuilder;
     this.packageBuilder = packageBuilder;
     this.packageTokeniser = packageTokeniser;
     this.progressNotifier = progressNotifier;
     this.windowManager = windowManager;
     this.manageExclusionsView = manageExclusionsView;
     this.progressNotifier.Progress += this.OnProgressUpdate;
 }