示例#1
0
 public EventHubTriggerAttributeBindingProvider(
     IConverterManager converterManager,
     IOptions <EventHubOptions> options,
     ILoggerFactory loggerFactory,
     EventHubClientFactory clientFactory)
 {
     _converterManager = converterManager;
     _options          = options;
     _clientFactory    = clientFactory;
     _logger           = loggerFactory?.CreateLogger(LogCategories.CreateTriggerCategory("EventHub"));
 }
 public EventHubTriggerAttributeBindingProvider(
     IConverterManager converterManager,
     IOptions <EventHubOptions> options,
     ILoggerFactory loggerFactory,
     EventHubClientFactory clientFactory)
 {
     _converterManager = converterManager;
     _options          = options;
     _clientFactory    = clientFactory;
     _loggerFactory    = loggerFactory;
 }
示例#3
0
 public EventHubExtensionConfigProvider(
     IOptions <EventHubOptions> options,
     ILoggerFactory loggerFactory,
     IConverterManager converterManager,
     IWebJobsExtensionConfiguration <EventHubExtensionConfigProvider> configuration,
     EventHubClientFactory clientFactory)
 {
     _options          = options;
     _loggerFactory    = loggerFactory;
     _converterManager = converterManager;
     _configuration    = configuration;
     _clientFactory    = clientFactory;
 }