Example #1
0
 public LocalWebHookProcessor(IWebHookSubscriptionStore subscriptionStore, IWebHookClient webHookClient,
                              IOptions <ClientStoreOptions> clientStoreOptions, ILogger <LocalWebHookProcessor> logger)
 {
     _subscriptionStore  = subscriptionStore;
     _webHookClient      = webHookClient;
     _logger             = logger;
     _clientStoreOptions = clientStoreOptions?.Value ?? new ClientStoreOptions();
 }
 public WebHooksTemplateReplacer(IOptions <ClientStoreOptions> clientStoreOptions)
 {
     _clientStoreOptions = clientStoreOptions.Value;
 }