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; }
public RebuildIndex_EventToAggregateRootId_Job(IEventStorePlayer eventStorePlayer, EventToAggregateRootId index, ILogger <RebuildIndex_EventToAggregateRootId_Job> logger) : base(logger) { this.eventStorePlayer = eventStorePlayer; this.index = index; }
public RebuildIndex_EventToAggregateRootId_Job(IEventStorePlayer eventStorePlayer, EventToAggregateRootId index) { this.eventStorePlayer = eventStorePlayer; this.index = index; }