Exemplo n.º 1
0
 internal CQELightToolbox(IScopeFactory scopeFactory,
                          IDispatcher dispatcher = null,
                          IEventStore eventStore = null,
                          IAggregateEventStore aggregateEventStore = null)
 {
     ScopeFactory        = scopeFactory;
     Dispatcher          = dispatcher;
     EventStore          = eventStore;
     AggregateEventStore = aggregateEventStore;
 }
Exemplo n.º 2
0
 public AggregateCache(IAggregateEventStore aggregateEventStore)
 {
     this.aggregateEventStore = aggregateEventStore;
 }
Exemplo n.º 3
0
 public AggregateRepository(IAggregateEventStore eventStore, IAggregateEventPublisher eventPublisher)
 {
     this.eventStore     = eventStore;
     this.eventPublisher = eventPublisher;
 }
Exemplo n.º 4
0
 public AjouterPersonneCommandHandler(IAggregateEventStore eventStore)
 {
     _eventStore = eventStore;
 }
 /// <summary>
 /// ctor
 /// </summary>
 /// <param name="storage"></param>
 public EventSourcedAggregateRepository(IAggregateEventStore storage)
 {
     _storage = storage;
 }