public SharedNestedTargetCmdsExecutor( SharedNestedTargetCmdGroup cmdGroup, ICmdExecutorFactory executorsFactory, IContainerReaderService containerReader, IContainerWriterService containerWriter) : base(cmdGroup, executorsFactory, containerReader, containerWriter) { this.TotalSteps += 2; }
public CmdGroupExecutorBase( T cmdGroup, ICmdExecutorFactory executorsFactory) { this.CommandGroup = cmdGroup; this.ExecutorFactory = executorsFactory; this.cmdExecutorPairs = CreateCommandExecutorPairs(); this.InitializeProgressProviding(); }
public ContainerCmdsExecutorBase( T cmdGroup, ICmdExecutorFactory executorsFactory, IContainerReaderService containerReader, IContainerWriterService containerWriter) : base(cmdGroup, executorsFactory) { this.ContainerReaderService = containerReader; this.ContainerWriterService = containerWriter; }
/// <summary> /// Initializes a new instance of the InstallerService class. /// </summary> /// <param name="installCommandsReader"></param> /// <param name="cmdExecutorFactory"></param> /// <param name="backupService"></param> /// <param name="progressManager"></param> /// <param name="settingsProvider"></param> /// <param name="configFileLocator"></param> public InstallerService( IInstallCmdReader installCommandsReader, ICmdExecutorFactory cmdExecutorFactory, IBackupService backupService, IProgressManager progressManager, ISettingsProvider settingsProvider) { this.installCommandsReader = installCommandsReader; this.cmdExecutorFactory = cmdExecutorFactory; this.backupService = backupService; this.progressManager = progressManager; this.progressManager.Register(this); this.settingsProvider = settingsProvider; this.registeredProgressProviders = new List <IProgressProvider>(); this.backupedFiles = new HashSet <String>(); this.isBackupEnabled = settingsProvider .GetGeneralSettings(Model.Config.GeneralSettingEntryType.InstallationBackup) .Value .ToOr <bool>(true); }
public BasicCmdsExecutor( BasicCmdGroup cmdGroup, ICmdExecutorFactory executorsFactory) : base(cmdGroup, executorsFactory) { }