Beispiel #1
0
 public ProjectionPlayer(CronusContext context, IEventStore eventStore, IProjectionWriter projectionRepository, IProjectionReader projectionReader, IInitializableProjectionStore projectionStoreInitializer, EventToAggregateRootId index)
 {
     this.context                    = context;
     this.eventStore                 = eventStore;
     this.projectionWriter           = projectionRepository;
     this.projectionReader           = projectionReader;
     this.projectionStoreInitializer = projectionStoreInitializer;
     this.index = index;
 }
Beispiel #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;
 }
 public ReplayPublicEvents_Job(IPublisher <IPublicEvent> publicEventPublisher, IEventStorePlayer eventStorePlayer, EventToAggregateRootId eventToAggregateIndex, ILogger <ReplayPublicEvents_Job> logger) : base(logger)
 {
     this.publicEventPublisher  = publicEventPublisher;
     this.eventStorePlayer      = eventStorePlayer;
     this.eventToAggregateIndex = eventToAggregateIndex;
 }