public WebHookManager(IRegisteredEventStore registeredEventStore,
                       IHandlerRegistrar eventHandlerRegistrar,
                       IWebHookSearchService webHookSearchService,
                       IWebHookSender webHookSender,
                       IBackgroundJobClient backgroundJobClient)
 {
     _registeredEventStore  = registeredEventStore;
     _eventHandlerRegistrar = eventHandlerRegistrar;
     _webHookSearchService  = webHookSearchService;
     _webHookSender         = webHookSender;
     _backgroundJobClient   = backgroundJobClient;
 }
示例#2
0
 public WebHooksController(IWebHookSearchService webHookSearchService,
                           IWebHookFeedSearchService webHookFeedSearchService,
                           IWebHookService webHookService,
                           IWebHookManager webHookManager,
                           IRegisteredEventStore registeredEventStore,
                           IWebHookFeedService webHookFeedService,
                           IWebHookFeedReader webHookFeedReader)
 {
     _webHookSearchService     = webHookSearchService;
     _webHookFeedSearchService = webHookFeedSearchService;
     _webHookService           = webHookService;
     _webHookManager           = webHookManager;
     _registeredEventStore     = registeredEventStore;
     _webHookFeedService       = webHookFeedService;
     _webHookFeedReader        = webHookFeedReader;
 }