Beispiel #1
0
 public void Configure(IRepository <Guid, AggregateEvent> repo, IEventSerializationStrategy serializationStrategy)
 {
     _repo = repo;
     _serializationStrategy = serializationStrategy;
 }
Beispiel #2
0
 //todo: make reason behind checkLatestEventTimestampPriorToSavingToEventStore less ambiguious
 public void Configure(IEventStore eventStore, IEventSerializationStrategy eventSerializationStrategy, bool checkLatestEventTimestampPriorToSavingToEventStore)
 {
     _eventStore = eventStore;
     _eventSerializationStrategy = eventSerializationStrategy;
     _checkLatestEventTimestampPriorToSavingToEventStore = checkLatestEventTimestampPriorToSavingToEventStore;
 }