public RebuildTask(ILogger log, IDependencyResolver ioc, IHistoryReader historyReader, IVersioningRepository versioningRepository, ICheckpointStore checkpoints, CancellationToken?pause = null) { if (log == null) { throw new ArgumentNullException("log"); } if (ioc == null) { throw new ArgumentNullException("ioc"); } if (historyReader == null) { throw new ArgumentNullException("historyReader"); } if (versioningRepository == null) { throw new ArgumentNullException("versioningRepository"); } if (checkpoints == null) { throw new ArgumentNullException("checkpoints"); } this.log = log; this.ioc = ioc; this.historyReader = historyReader; this.versioningRepository = versioningRepository; this.checkpoints = checkpoints; this.running = pause ?? CancellationToken.None; }
public RebuildTask(ILogger log, IDependencyResolver ioc, IHistoryReader historyReader, IVersioningRepository versioningRepository, ICheckpointStore checkpoints, CancellationToken? pause = null) { if (log == null) throw new ArgumentNullException("log"); if (ioc == null) throw new ArgumentNullException("ioc"); if (historyReader == null) throw new ArgumentNullException("historyReader"); if (versioningRepository == null) throw new ArgumentNullException("versioningRepository"); if (checkpoints == null) throw new ArgumentNullException("checkpoints"); this.log = log; this.ioc = ioc; this.historyReader = historyReader; this.versioningRepository = versioningRepository; this.checkpoints = checkpoints; this.running = pause ?? CancellationToken.None; }
public UtilityTasks(ILogger log, IDependencyResolver ioc, IStoreEvents storeEvents, IHistoryReader historyReader, IVersioningRepository versioningRepository, ICheckpointStore checkpoints, IPersistHelper persistHelper, IRepository repository, string rmConnectionString) { this.log = log; this.ioc = ioc; this.storeEvents = storeEvents; this.historyReader = historyReader; this.versioningRepository = versioningRepository; this.checkpoints = checkpoints; this.rmConnectionString = rmConnectionString; this.persistHelper = persistHelper; this.repository = repository; }
public RunManager( IScheduleReader <TIdentifier> scheduleReader, ITaskDefinitionReader <TIdentifier> taskDefinitionReader, IRunner <TIdentifier> runner, IHistoryWriter <TIdentifier> historyWriter, IScheduleWriter <TIdentifier> scheduleWriter, IPreconditionReader <TIdentifier> preconditionReader, IDueTasksFilter <TIdentifier> dueTasksFilter, IHistoryReader <TIdentifier> historyReader, IServiceScopeFactory serviceScopeFactory, ILogger <RunManager <TIdentifier> > logger, IInbuiltTaskPreconditionsProvider <TIdentifier> inbuiltTaskPreconditionsProvider, ITaskDefinitionStateReader <TIdentifier> taskDefinitionStateReader, ITaskDefinitionStateWriter <TIdentifier> taskDefinitionStateWriter, IFaultHandler <TIdentifier> faultHandler, IFaultReporter <TIdentifier> faultReporter, IOnDemandQueueManager <TIdentifier> onDemandQueueManager, ITaskRunnerLogger taskRunnerLogger) { this.scheduleReader = scheduleReader; this.taskDefinitionReader = taskDefinitionReader; this.runner = runner; this.historyWriter = historyWriter; this.scheduleWriter = scheduleWriter; this.preconditionReader = preconditionReader; this.dueTasksFilter = dueTasksFilter; this.historyReader = historyReader; this.serviceScopeFactory = serviceScopeFactory; Logger = logger; this.inbuiltTaskPreconditionsProvider = inbuiltTaskPreconditionsProvider; this.taskDefinitionStateReader = taskDefinitionStateReader; this.taskDefinitionStateWriter = taskDefinitionStateWriter; this.faultHandler = faultHandler; this.faultReporter = faultReporter; this.onDemandQueueManager = onDemandQueueManager; this.taskRunnerLogger = taskRunnerLogger; }
internal static extern int CreateHistoryReader(string wzFilePath, out IHistoryReader ppHistReader);
public static extern HRESULT CreateHistoryReader(string filePath, out IHistoryReader historyReader);
public HistoryLoader(IHistoryReader reader) { _reader = reader; }
public static extern void CreateHistoryReader( string wzFilePath, out IHistoryReader ppHistReader);
public HistoryWriter(HistoryConfiguration configuration, IHistoryReader historyReader, JsonSerializer serializer) { _configuration = configuration; _historyReader = historyReader; _serializer = serializer; }