Пример #1
0
 public ProjectionVersionHelper(CronusContext context, IProjectionReader projectionReader, IInitializableProjectionStore projectionVersionInitializer, ProjectionHasher projectionHasher, ILogger <ProjectionVersionHelper> logger)
 {
     this.context                      = context;
     this.projectionReader             = projectionReader;
     this.projectionVersionInitializer = projectionVersionInitializer;
     this.projectionHasher             = projectionHasher;
     this.logger = logger;
 }
Пример #2
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;
 }
Пример #3
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;
 }
Пример #4
0
 public CassandraSnapshotStore(TSettings settings, IInitializableProjectionStore initializableProjectionStore, ILogger <CassandraSnapshotStore> logger) : base(settings.CassandraProvider, settings.Serializer, settings.ProjectionsNamingStrategy, settings.ProjectionsProvider, initializableProjectionStore, logger)
 {
 }