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)); }
public TransactionalOutbox( ISqlTransactionalOutboxRepository <TUniqueIdentifier, TPayload> outboxRepository ) { this.OutboxRepository = outboxRepository ?? throw new ArgumentNullException(nameof(OutboxRepository)); }