Example #1
0
        public InMemorySagaConsumeContext(InMemorySagaRepository <TSaga> repository, ConsumeContext <TMessage> context, TSaga instance)
            : base(context)
        {
            _repository = repository;

            Saga = instance;
        }
        public InMemorySagaConsumeContext(InMemorySagaRepository <TSaga> repository, ConsumeContext <TMessage> context, TSaga instance, Func <Task> removeSaga)
            : base(context)
        {
            _removeSaga = removeSaga;

            Saga = instance;
        }
Example #3
0
 public MissingPipe(InMemorySagaRepository <TSaga> repository, IPipe <SagaConsumeContext <TSaga, TMessage> > next, bool withinLock = false)
 {
     _repository = repository;
     _next       = next;
     _withinLock = withinLock;
 }
 public MissingPipe(InMemorySagaRepository <TSaga> repository, IPipe <SagaConsumeContext <TSaga, TMessage> > next)
 {
     _repository = repository;
     _next       = next;
 }