Пример #1
0
        public GraphWebhookSubscriptionAsyncCollector(ServiceManager extension, TraceWriter log, GraphWebhookConfig config, GraphWebhookSubscriptionAttribute attribute)
        {
            _extension     = extension;
            _log           = log;
            _webhookConfig = config;
            _attribute     = attribute;
            _values        = new List <string>();

            _attribute.Validate();
        }
Пример #2
0
        public GraphWebhookSubscriptionAsyncCollector(ServiceManager extension, ILoggerFactory logFactory, GraphWebhookConfig config, GraphWebhookSubscriptionAttribute attribute)
        {
            _extension = extension;
            _log = logFactory?.CreateLogger(MicrosoftGraphExtensionConfig.CreateBindingCategory("GraphWebhook"));
            _webhookConfig = config;
            _attribute = attribute;
            _values = new List<string>();

            _attribute.Validate();
        }
Пример #3
0
        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();
        }