public TransactionalOutboxProcessor(
     ISqlTransactionalOutboxRepository <TUniqueIdentifier, TPayload> outboxRepository,
     ISqlTransactionalOutboxPublisher <TUniqueIdentifier> outboxPublisher
     )
 {
     this.OutboxRepository = outboxRepository ?? throw new ArgumentNullException(nameof(OutboxRepository));
     this.OutboxPublisher  = outboxPublisher ?? throw new ArgumentNullException(nameof(OutboxPublisher));
 }
Exemplo n.º 2
0
 public TransactionalOutbox(
     ISqlTransactionalOutboxRepository <TUniqueIdentifier, TPayload> outboxRepository
     )
 {
     this.OutboxRepository = outboxRepository ?? throw new ArgumentNullException(nameof(OutboxRepository));
 }