Example #1
0
 public ProjectionPlayer(IEventStore eventStore, IProjectionStore projectionStore, IProjectionRepository projectionRepository, ISnapshotStore snapshotStore, EventTypeIndexForProjections index, IEventStorePlayer eventStorePlayer)
 {
     this.eventStore           = eventStore;
     this.projectionStore      = projectionStore;
     this.projectionRepository = projectionRepository;
     this.snapshotStore        = snapshotStore;
     this.index            = index;
     this.eventStorePlayer = eventStorePlayer;
 }
Example #2
0
 public ProjectionPlayer(CronusContext context, IEventStore eventStore, IEventStorePlayer eventStorePlayer, EventStoreIndex index, IProjectionWriter projectionRepository, IProjectionReader projectionReader, IInitializableProjectionStore projectionStoreInitializer)
 {
     this.context                    = context;
     this.eventStore                 = eventStore;
     this.eventStorePlayer           = eventStorePlayer;
     this.projectionWriter           = projectionRepository;
     this.projectionReader           = projectionReader;
     this.projectionStoreInitializer = projectionStoreInitializer;
     this.index = index;
 }
Example #3
0
 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;
 }
Example #4
0
 public MigrationRunnerBase(TSourceEventStorePlayer source, TTargetEventStore target)
 {
     this.source = source;
     this.target = target;
 }
 public RebuildIndex_EventToAggregateRootId_Job(IEventStorePlayer eventStorePlayer, EventToAggregateRootId index, ILogger <RebuildIndex_EventToAggregateRootId_Job> logger) : base(logger)
 {
     this.eventStorePlayer = eventStorePlayer;
     this.index            = index;
 }
 public EventStoreValidator(IEventStorePlayer player)
 {
     this.player = player;
 }
 public RebuildIndex_EventToAggregateRootId_Job(IEventStorePlayer eventStorePlayer, EventToAggregateRootId index)
 {
     this.eventStorePlayer = eventStorePlayer;
     this.index            = index;
 }
Example #8
0
 public EventStoreIndexPlayer(IEventStorePlayer eventStorePlayer, IProjectionStore projectionStore, IProjectionRepository projectionRepository)
 {
     this.eventStorePlayer = eventStorePlayer;
     this.projectionStore = projectionStore;
     this.projectionRepository = projectionRepository;
 }