public AggregateRootEventApplicatorTests()
 {
     _mockDelegateProvider = new Mock <IProvideEventDelegates>();
     _eventApplicator      = new EventApplicator(_mockDelegateProvider.Object);
 }
예제 #2
0
 public AggregateRootRepository(IReadEvents eventReader, IWriteEvents eventWriter, IApplyEventsToAggregates eventApplicator)
 {
     _eventReader     = eventReader;
     _eventWriter     = eventWriter;
     _eventApplicator = eventApplicator;
 }