コード例 #1
0
 public RebuildIndex_MessageCounter_Job(CronusContext context, TypeContainer <IEvent> eventTypes, EventStoreFactory eventStoreFactory, IMessageCounter eventCounter, EventToAggregateRootId eventToAggregateIndex, IProjectionReader projectionReader, ILogger <RebuildIndex_MessageCounter_Job> logger) : base(logger)
 {
     this.context               = context;
     this.eventTypes            = eventTypes;
     this.eventStore            = eventStoreFactory.GetEventStore();
     this.messageCounter        = eventCounter;
     this.eventToAggregateIndex = eventToAggregateIndex;
     this.projectionReader      = projectionReader;
 }
コード例 #2
0
 public RebuildIndex_EventToAggregateRootId_Job(IEventStorePlayer eventStorePlayer, EventToAggregateRootId index, ILogger <RebuildIndex_EventToAggregateRootId_Job> logger) : base(logger)
 {
     this.eventStorePlayer = eventStorePlayer;
     this.index            = index;
 }
コード例 #3
0
 public RebuildIndex_EventToAggregateRootId_Job(IEventStorePlayer eventStorePlayer, EventToAggregateRootId index)
 {
     this.eventStorePlayer = eventStorePlayer;
     this.index            = index;
 }