Esempio n. 1
0
 public ProgressTracker(IMessageCounter messageCounter, CronusContext context, IPublisher <ISignal> signalPublisher, ProjectionVersionHelper projectionVersionHelper, ILogger <ProgressTracker> logger)
 {
     tenant = context.Tenant;
     this.messageCounter          = messageCounter;
     this.signalPublisher         = signalPublisher;
     this.projectionVersionHelper = projectionVersionHelper;
     this.logger = logger;
 }
Esempio n. 2
0
 public RebuildProjection_Job(
     IInitializableProjectionStore projectionStoreInitializer,
     IRebuildingProjectionRepository rebuildingRepository,
     ProgressTracker progressTracker,
     ProjectionVersionHelper projectionVersionHelper,
     EventToAggregateRootId eventToAggregateIndex,
     IPublisher <ISignal> signalPublisher,
     ILogger <RebuildProjection_Job> logger)
     : base(logger)
 {
     this.signalPublisher            = signalPublisher;
     this.projectionStoreInitializer = projectionStoreInitializer;
     this.eventToAggregateIndex      = eventToAggregateIndex;
     this.progressTracker            = progressTracker;
     this.projectionVersionHelper    = projectionVersionHelper;
     this.rebuildingRepository       = rebuildingRepository;
 }