예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #6
0
 public EventStoreValidator(IEventStorePlayer player)
 {
     this.player = player;
 }
 public RebuildIndex_EventToAggregateRootId_Job(IEventStorePlayer eventStorePlayer, EventToAggregateRootId index)
 {
     this.eventStorePlayer = eventStorePlayer;
     this.index            = index;
 }
예제 #8
0
 public EventStoreIndexPlayer(IEventStorePlayer eventStorePlayer, IProjectionStore projectionStore, IProjectionRepository projectionRepository)
 {
     this.eventStorePlayer = eventStorePlayer;
     this.projectionStore = projectionStore;
     this.projectionRepository = projectionRepository;
 }