コード例 #1
0
 public CorrelationEventHandler(
     ISagaStateRepository sagaStateRepository,
     ISagaStateMachineEventDispatcher eventDispatcher
     )
 {
     _sagaStateRepository = sagaStateRepository;
     _eventDispatcher     = eventDispatcher;
 }
コード例 #2
0
 public SagaStateService(ISagaStateFactory <TD> sagaStateFactory,
                         ISagaStateRepository sagaStateRepository,
                         IOutboxRepository outboxRepository)
 {
     _sagaStateFactory    = sagaStateFactory ?? throw new ArgumentNullException(nameof(sagaStateFactory));
     _sagaStateRepository = sagaStateRepository ?? throw new ArgumentNullException(nameof(sagaStateRepository));
     _outboxRepository    = outboxRepository ?? throw new ArgumentNullException(nameof(outboxRepository));
 }
コード例 #3
0
ファイル: SagaCoordinator.cs プロジェクト: tuongntk/Chronicle
 public SagaCoordinator(
     ISagaLog log,
     ISagaStateRepository repository,
     ISagaSeeker seeker)
 {
     _log        = log;
     _repository = repository;
     _seeker     = seeker;
 }
コード例 #4
0
 protected StateMachine(
     ISagaStateRepository repository
     )
 {
     _repository = repository;
 }
コード例 #5
0
 public SagaProcessor(ISagaStateRepository repository, ISagaLog log)
 {
     _repository = repository;
     _log        = log;
 }
コード例 #6
0
 public SagaInitializer(ISagaStateRepository repository)
 {
     _repository = repository;
 }
コード例 #7
0
ファイル: SagaProcessor.cs プロジェクト: rangerlabs/Chronicle
 public SagaProcessor(ISagaStateRepository repository, IChronicleConfiguration configuration, ISagaLog log)
 {
     _repository    = repository;
     _configuration = configuration;
     _log           = log;
 }
コード例 #8
0
 public SagaStateService(ISagaStateFactory <TD> sagaStateFactory, ISagaStateRepository uow)
 {
     _sagaStateFactory    = sagaStateFactory ?? throw new ArgumentNullException(nameof(sagaStateFactory));
     _sagaStateRepository = uow ?? throw new ArgumentNullException(nameof(uow));
 }
コード例 #9
0
 public DocumentMergeProcess(MessageBus bus, ISagaStateRepository stateRepository)
     : base(bus, stateRepository)
 {
     State = new DocumentMergeProcessState();
 }
コード例 #10
0
 public DataWarehousingProcess(MessageBus bus, ISagaStateRepository stateRepository)
     : base(bus, stateRepository)
 {
     State = new DataWarehousingProcessState();
 }