Esempio n. 1
0
 public DocumentPublishCancelMessageEventHandler(
     IPublishDocumentTaskRepository publishDocumentTaskRepository,
     ILogger <DocumentPublishCancelMessageEventHandler> logger,
     INotifyService notifyService,
     IDocumentPublishCancelQueueService documentPublishCancelQueueService)
     : base(publishDocumentTaskRepository, logger, notifyService, documentPublishCancelQueueService)
 {
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }
 protected BaseDocumentMessageEventHandler(
     IPublishDocumentTaskRepository publishDocumentTaskRepository,
     ILogger <BaseDocumentMessageEventHandler <TEventMessage, TEventBus> > logger,
     INotifyService notifyService,
     TEventBus eventBus)
 {
     PublishDocumentTaskRepository = publishDocumentTaskRepository ??
                                     throw new ArgumentNullException(nameof(publishDocumentTaskRepository));
     _logger       = logger ?? throw new ArgumentNullException(nameof(logger));
     NotifyService = notifyService ?? throw new ArgumentNullException(nameof(notifyService));
     EventBus      = eventBus ?? throw new ArgumentNullException(nameof(eventBus));
 }
Esempio n. 3
0
 public PublishDocumentTaskController(IPublishDocumentTaskRepository publishDocumentTaskRepository)
 {
     _publishDocumentTaskRepository = publishDocumentTaskRepository ??
                                      throw new ArgumentNullException(nameof(publishDocumentTaskRepository));
 }