コード例 #1
0
 public BusSubscriptionsWithOutbox(ILogger <BusSubscriptionsWithOutbox> logger, IOutboxRepository repository, RepeatingTimer timer)
 {
     this.logger       = logger;
     this.repository   = repository;
     this.timer        = timer;
     this.timer.OnTick = OnTick;
 }
コード例 #2
0
 public OutboxProcessor(IOutboxRepository outboxRepository,
                        IPublisher publisher,
                        ILogger <OutboxProcessor> logger)
 {
     _outboxRepository = outboxRepository ?? throw new ArgumentNullException(nameof(outboxRepository));
     _logger           = logger ?? throw new ArgumentNullException(nameof(logger));
     _publisher        = publisher ?? throw new ArgumentNullException(nameof(publisher));
 }
コード例 #3
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));
 }
コード例 #4
0
 public OutboxService(IOutboxRepository _repo)
 {
     repo = _repo;
 }
コード例 #5
0
ファイル: OutboxCleaner.cs プロジェクト: plunix/OpenSleigh
 public OutboxCleaner(IOutboxRepository outboxRepository, OutboxCleanerOptions options)
 {
     _outboxRepository = outboxRepository ?? throw new ArgumentNullException(nameof(outboxRepository));
     _options          = options ?? throw new ArgumentNullException(nameof(options));
 }
コード例 #6
0
 public DefaultMessageBus(IOutboxRepository outboxRepository)
 {
     _outboxRepository = outboxRepository ?? throw new ArgumentNullException(nameof(outboxRepository));
 }
コード例 #7
0
 public OutboxCleaner(IOutboxRepository outboxRepository)
 {
     _outboxRepository = outboxRepository ?? throw new ArgumentNullException(nameof(outboxRepository));
 }
 public OutboxManager(IOutboxDispatcher dispatcher,
                      IOutboxRepository repository)
 {
     _dispatcher = dispatcher;
     _repository = repository;
 }
コード例 #9
0
 public OutboxController(IOutboxRepository outboxRepo)
 {
     _outboxRepo = outboxRepo;
 }