public EventProcessor(EventHubConfiguration config, ITriggeredFunctionExecutor executor, ILogger logger, bool singleDispatch, ICheckpointer checkpointer = null)
 {
     _checkpointer             = checkpointer ?? this;
     _executor                 = executor;
     _singleDispatch           = singleDispatch;
     _batchCheckpointFrequency = config.BatchCheckpointFrequency;
     _logger = logger;
 }
 public EventHubExtensionConfigProvider(EventHubConfiguration options, ILoggerFactory loggerFactory,
                                        IConverterManager converterManager, INameResolver nameResolver, IWebJobsExtensionConfiguration <EventHubExtensionConfigProvider> configuration)
 {
     _options          = options;
     _loggerFactory    = loggerFactory;
     _converterManager = converterManager;
     _nameResolver     = nameResolver;
     _configuration    = configuration;
 }
 public EventHubListener(ITriggeredFunctionExecutor executor, EventProcessorHost eventProcessorHost, bool singleDispatch, EventHubConfiguration config, ILogger logger)
 {
     _executor           = executor;
     _eventProcessorHost = eventProcessorHost;
     _singleDispatch     = singleDispatch;
     _options            = config.GetOptions();
     _config             = config;
     _logger             = logger;
 }
 public EventHubTriggerAttributeBindingProvider(
     INameResolver nameResolver,
     IConverterManager converterManager,
     EventHubConfiguration eventHubConfig,
     ILoggerFactory loggerFactory)
 {
     _nameResolver     = nameResolver;
     _converterManager = converterManager;
     _eventHubConfig   = eventHubConfig;
     _logger           = loggerFactory?.CreateLogger(LogCategories.CreateTriggerCategory("EventHub"));
 }