Exemplo n.º 1
0
 public TestingSagaDataPersister(ISagaPersister realPersister, IInboxStore realInbox, char threadId, Func <char, bool, Task> getBarrier)
 {
     this.realPersister = realPersister;
     this.realInbox     = realInbox;
     this.threadId      = threadId;
     this.getBarrier    = getBarrier;
 }
Exemplo n.º 2
0
 public OutboxBehavior(Repository <T> repository, IDispatchMessages dispatcher, IInboxStore inboxStore,
                       IOutboxStore outboxStore, Func <object, string> getId)
 {
     this.repository  = repository;
     this.dispatcher  = dispatcher;
     this.inboxStore  = inboxStore;
     this.getId       = getId;
     this.outboxStore = outboxStore;
 }
Exemplo n.º 3
0
 public OutboxBehavior(OrderRepository orderRepository, IDispatchMessages dispatcher, IInboxStore inboxStore)
 {
     this.orderRepository = orderRepository;
     this.dispatcher      = dispatcher;
     this.inboxStore      = inboxStore;
 }
 public SagaManager(ISagaPersister sagaPersister, IInboxStore inboxStore, IDispatchMessages dispatcher)
 {
     this.sagaPersister = sagaPersister;
     this.inboxStore    = inboxStore;
     this.dispatcher    = dispatcher;
 }
 public TestingInbox(Func <string, Task> barrier, IInboxStore impl)
 {
     this.barrier = barrier;
     this.impl    = impl;
 }