public CreateLogCommandHandler(
     ILevantamentoIntegrationEventService eventBus,
     IMediatorHandler bus,
     INotificationHandler <DomainNotification> notifications
     ) : base(bus, notifications)
 {
     _eventBus = eventBus;
     Bus       = bus;
 }
 public LevantamentoConcludedDomainEventHandler(ILevantamentoIntegrationEventService levantamentoIntegrationEventService)
 {
     _levantamentoIntegrationEventService = levantamentoIntegrationEventService ?? throw new ArgumentNullException(nameof(levantamentoIntegrationEventService));
 }
Exemple #3
0
 public TransactionBehaviourNoSql(ILevantamentoIntegrationEventService levantamentoIntegrationEventService, LevantamentoContext context)
 {
     _levantamentoIntegrationEventService = levantamentoIntegrationEventService ?? throw new ArgumentException(nameof(levantamentoIntegrationEventService));
     _context = context ?? throw new ArgumentException(nameof(context));
 }