Ejemplo n.º 1
0
 public WebhookManager(
     IWebhooksConfiguration webhooksConfiguration,
     IWebhookSendAttemptStore webhookSendAttemptStore)
 {
     _webhooksConfiguration   = webhooksConfiguration;
     _webhookSendAttemptStore = webhookSendAttemptStore;
 }
Ejemplo n.º 2
0
 public DefaultWebhookSender(
     IWebhooksConfiguration webhooksConfiguration,
     IWebhookManager webhookManager)
 {
     _webhooksConfiguration = webhooksConfiguration;
     _webhookManager        = webhookManager;
 }
 public AspNetCoreWebhookSender(
     IWebhooksConfiguration webhooksConfiguration,
     IHttpClientFactory clientFactory)
     : base(webhooksConfiguration)
 {
     _webhooksConfiguration = webhooksConfiguration;
     _clientFactory         = clientFactory;
 }
Ejemplo n.º 4
0
 public WebhookDefinitionManager(
     IWebhooksConfiguration webhooksConfiguration,
     IocManager iocManager
     )
 {
     _webhooksConfiguration = webhooksConfiguration;
     _iocManager            = iocManager;
     _webhookDefinitions    = new Dictionary <string, WebhookDefinition>();
 }
 public AspNetCoreWebhookSender(
     IWebhooksConfiguration webhooksConfiguration,
     IWebhookManager webhookManager,
     IHttpClientFactory clientFactory)
     : base(webhooksConfiguration, webhookManager)
 {
     _webhooksConfiguration = webhooksConfiguration;
     _clientFactory         = clientFactory;
     _webhookManager        = webhookManager;
 }
 public WebhookSenderJob(
     IWebhooksConfiguration webhooksConfiguration,
     IWebhookSubscriptionManager webhookSubscriptionManager,
     IWebhookSendAttemptStore webhookSendAttemptStore,
     IWebhookSender webhookSender)
 {
     _webhooksConfiguration      = webhooksConfiguration;
     _webhookSubscriptionManager = webhookSubscriptionManager;
     _webhookSendAttemptStore    = webhookSendAttemptStore;
     _webhookSender = webhookSender;
 }
Ejemplo n.º 7
0
        public DefaultWebhookPublisher(
            IWebhookSubscriptionManager webhookSubscriptionManager,
            IWebhooksConfiguration webhooksConfiguration,
            IGuidGenerator guidGenerator,
            IBackgroundJobManager backgroundJobManager)
        {
            _guidGenerator              = guidGenerator;
            _backgroundJobManager       = backgroundJobManager;
            _webhookSubscriptionManager = webhookSubscriptionManager;
            _webhooksConfiguration      = webhooksConfiguration;

            WebhookEventStore = NullWebhookEventStore.Instance;
        }
        public DefaultWebhookSender(IWebhooksConfiguration webhooksConfiguration)
        {
            _webhooksConfiguration = webhooksConfiguration;

            WebhookSendAttemptStore = NullWebhookSendAttemptStore.Instance;
        }
Ejemplo n.º 9
0
 public TestWebhookSender(
     IWebhooksConfiguration webhooksConfiguration,
     IWebhookManager webhookManager) :
     base(webhooksConfiguration, webhookManager)
 {
 }