public GraphWebhookSubscriptionHandler(GraphServiceClientManager clientManager, IGraphSubscriptionStore subscriptionStore, ILoggerFactory loggerFactory, Uri notificationUri, WebhookTriggerBindingProvider bindingProvider) { _clientManager = clientManager; _subscriptionStore = subscriptionStore; _log = loggerFactory?.CreateLogger(MicrosoftGraphExtensionConfigProvider.CreateBindingCategory("GraphWebhookSubscription")); _notificationUri = notificationUri; _bindingProvider = bindingProvider; }
public GraphWebhookSubscriptionAsyncCollector(GraphServiceClientManager clientManager, GraphOptions options, ILoggerFactory logFactory, IGraphSubscriptionStore subscriptionStore, Uri notificationUrl, GraphWebhookSubscriptionAttribute attribute) { _clientManager = clientManager; _log = logFactory?.CreateLogger(MicrosoftGraphExtensionConfigProvider.CreateBindingCategory("GraphWebhook")); _subscriptionStore = subscriptionStore; _notificationUrl = notificationUrl; _attribute = attribute; _options = options; _values = new List <string>(); _attribute.Validate(); }