Пример #1
0
 public CreateLevantamentoCommandHandler(
     ILevantamentoRepository levantamentoRepository,
     IMediatorHandler bus,
     INotificationHandler <DomainNotification> notifications
     ) : base(bus, notifications)
 {
     _levantamentoRepository = levantamentoRepository;
     Bus = bus;
 }
 public LevantamentosController(
     ILevantamentoRepository repository,
     IMediatorHandler mediator,
     INotificationHandler <DomainNotification> notifications
     ) : base(notifications, mediator)
 {
     _repository = repository ?? throw new ArgumentNullException(nameof(repository));
     _mediator   = mediator ?? throw new ArgumentNullException(nameof(mediator));
 }
Пример #3
0
 public LogSendedIntegrationEventHandler(
     ILevantamentoRepository levantamentoRepository
     )
 {
     _levantamentoRepository = levantamentoRepository;
 }