Example #1
0
 public DataStoreUpdateCapabilities(IDocumentRepository dataStoreConnection, IMessageAggregator eventAggregator)
 {
     this.eventAggregator = eventAggregator;
     this.eventReplay     = new EventReplay(eventAggregator);
     DsConnection         = dataStoreConnection;
 }
 public DataStoreQueryCapabilities(IDocumentRepository dataStoreConnection, IMessageAggregator messageAggregator)
 {
     this.messageAggregator = messageAggregator;
     this.eventReplay       = new EventReplay(messageAggregator);
     DbConnection           = dataStoreConnection;
 }