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 ShowChangedProjectionsTask(ILogger log, IDependencyResolver ioc, IVersioningRepository versioningRepository, string rmConnectionString) { if (log == null) throw new ArgumentNullException("log"); if (ioc == null) throw new ArgumentNullException("ioc"); if (versioningRepository == null) throw new ArgumentNullException("versioningRepository"); this.log = log; this.ioc = ioc; this.versioningRepository = versioningRepository; this.rmConnectionString = rmConnectionString; }
public ShowChangedProjectionsTask(ILogger log, IDependencyResolver ioc, IVersioningRepository versioningRepository, string rmConnectionString) { if (log == null) { throw new ArgumentNullException("log"); } if (ioc == null) { throw new ArgumentNullException("ioc"); } if (versioningRepository == null) { throw new ArgumentNullException("versioningRepository"); } this.log = log; this.ioc = ioc; this.versioningRepository = versioningRepository; this.rmConnectionString = rmConnectionString; }
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; }