Beispiel #1
0
 public CommandSender(IHandlerResolver handlerResolver,
                      IEventPublisher eventPublisher,
                      IEventFactory eventFactory,
                      IOptions <Options> options)
 {
     _handlerResolver = handlerResolver;
     _eventPublisher  = eventPublisher;
     _eventFactory    = eventFactory;
     _options         = options.Value;
 }
 public DomainCommandSender(IHandlerResolver handlerResolver,
                            IEventPublisher eventPublisher,
                            IEventFactory eventFactory,
                            IAggregateStore aggregateStore,
                            ICommandStore commandStore,
                            IEventStore eventStore,
                            IOptions <Options> options)
 {
     _handlerResolver = handlerResolver;
     _eventPublisher  = eventPublisher;
     _eventFactory    = eventFactory;
     _aggregateStore  = aggregateStore;
     _commandStore    = commandStore;
     _eventStore      = eventStore;
     _options         = options.Value;
 }
Beispiel #3
0
 public CommandDocumentFactory(IOptions <Options> options)
 {
     _options = options.Value;
 }
 public CommandEntityFactory(IOptions <Options> options)
 {
     _options = options.Value;
 }