public PackageCreatorTasks( IArchiveBuilder archiveBuilder, ICleanUpProcessor cleanUpProcessor, IClonePackageBuilder clonePackageBuilder, IConfiguration configuration, IPackageBuilder packageBuilder, IPackageTokeniser packageTokeniser, IProgressNotifier progressNotifier) { this.archiveBuilder = archiveBuilder; this.cleanUpProcessor = cleanUpProcessor; this.clonePackageBuilder = clonePackageBuilder; this.configuration = configuration; this.packageBuilder = packageBuilder; this.packageTokeniser = packageTokeniser; this.progressNotifier = progressNotifier; this.progressNotifier.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; }