public StateMachineSagaTestSubjectImpl(ISagaRepository <TSaga> sagaRepository, TStateMachine stateMachine)
        {
            _sagaRepository = sagaRepository;
            _stateMachine   = stateMachine;

            _received = new ReceivedMessageListImpl();
            _created  = new SagaListImpl <TSaga>();
            _sagas    = new SagaListImpl <TSaga>();
        }
Пример #2
0
 public Of(MultiConsumer multiConsumer)
 {
     _multiConsumer = multiConsumer;
     _received      = new ReceivedMessageListImpl <T>();
 }
Пример #3
0
 public MultiConsumer()
 {
     _configures = new List <IConfigure>();
     _received   = new ReceivedMessageListImpl();
 }