Exemple #1
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();
        }
Exemple #2
0
 public GraphWebhookSubscriptionHandler(ServiceManager manager, GraphWebhookConfig config, ILoggerFactory loggerFactory)
 {
     _manager = manager;
     _config  = config;
     _log     = loggerFactory?.CreateLogger(MicrosoftGraphExtensionConfig.CreateBindingCategory("GraphWebhookSubscription"));
 }