public TicketPriorityEventHandler(ITicketQueryRepository ticketRepository, IPriorityQueryRepository priorityRepository, ITicketEventQueryRepository eventRepository, IMapper mapper, IWebsocketEmittor websocketEmittor) { _ticketRepository = ticketRepository ?? throw new ArgumentNullException(nameof(ticketRepository)); _priorityRepository = priorityRepository ?? throw new ArgumentNullException(nameof(priorityRepository)); _eventRepository = eventRepository ?? throw new ArgumentNullException(nameof(eventRepository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _websocketEmittor = websocketEmittor ?? throw new ArgumentNullException(nameof(websocketEmittor)); }
public TicketStatusEventHandler(IMapper mapper, IWebsocketEmittor websocketEmittor, ITicketQueryRepository ticketRepository, IStatusQueryRepository statusRepository, ITicketEventQueryRepository eventRepository) { _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _websocketEmittor = websocketEmittor ?? throw new ArgumentNullException(nameof(websocketEmittor)); _ticketRepository = ticketRepository ?? throw new ArgumentNullException(nameof(ticketRepository)); _statusRepository = statusRepository ?? throw new ArgumentNullException(nameof(statusRepository)); _eventRepository = eventRepository ?? throw new ArgumentNullException(nameof(eventRepository)); }
public TicketCreateEventHandler(ITicketQueryRepository ticketRepository, ITicketEventQueryRepository eventRepository, IMapper mapper, IWebsocketEmittor websocketEmittor, IIntegrationEventPublisher eventPublisher, IPriorityQueryRepository priorityRepository, IStatusQueryRepository statusRepository) { _ticketRepository = ticketRepository ?? throw new ArgumentNullException(nameof(ticketRepository)); _priorityRepository = priorityRepository ?? throw new ArgumentNullException(nameof(priorityRepository)); _statusRepository = statusRepository ?? throw new ArgumentNullException(nameof(statusRepository)); _eventRepository = eventRepository ?? throw new ArgumentNullException(nameof(eventRepository)); _websocketEmittor = websocketEmittor ?? throw new ArgumentNullException(nameof(websocketEmittor)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _eventPublisher = eventPublisher ?? throw new ArgumentNullException(nameof(eventPublisher)); }
public TicketCommentEventHandler(IWebsocketEmittor websocketEmittor, IMapper mapper, ITicketEventQueryRepository repository) { _websocketEmittor = websocketEmittor ?? throw new ArgumentNullException(nameof(websocketEmittor)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _repository = repository ?? throw new ArgumentNullException(nameof(repository)); }
public TicketQueryHandler(ITicketQueryRepository repository, ITicketEventQueryRepository eventRepository, IMapper mapper) { _repository = repository; _eventRepository = eventRepository; _mapper = mapper; }