public EventStore(IEventBuilder <TAuthenticationToken> eventBuilder, IEventDeserialiser <TAuthenticationToken> eventDeserialiser, IEventStoreConnectionHelper eventStoreConnectionHelper) { EventBuilder = eventBuilder; EventDeserialiser = eventDeserialiser; EventStoreConnection = eventStoreConnectionHelper.GetEventStoreConnection(); }
protected ProjectionReader(IEventStoreConnectionHelper eventStoreConnectionHelper, IEventDeserialiser <TAuthenticationToken> eventDeserialiser) { EventStoreConnectionHelper = eventStoreConnectionHelper; EventDeserialiser = eventDeserialiser; }
public EventStoreEventPublisher(IEventStoreConnectionHelper eventStoreConnectionHelper, IStoreLastEventProcessed lastEventProcessedStore) { EventStoreConnection = eventStoreConnectionHelper.GetEventStoreConnection(); LastEventProcessedStore = lastEventProcessedStore; Routes = new Dictionary <Type, List <Action <IMessage> > >(); }