Example #1
0
 public CommandSender(IHandlerResolver handlerResolver,
                      IEventPublisher eventPublisher,
                      IEventFactory eventFactory,
                      IOptions <Options> options)
 {
     _handlerResolver = handlerResolver;
     _eventPublisher  = eventPublisher;
     _eventFactory    = eventFactory;
     _options         = options.Value;
 }
Example #2
0
 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;
 }
Example #3
0
 public CommandDocumentFactory(IOptions <Options> options)
 {
     _options = options.Value;
 }
Example #4
0
 public CommandEntityFactory(IOptions <Options> options)
 {
     _options = options.Value;
 }