Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ResilientEventHubProcessor"/> class.
 /// </summary>
 /// <param name="executor">The <see cref="ITriggeredFunctionExecutor"/>.</param>
 /// <param name="options">The <see cref="ResilientEventHubOptions"/>.</param>
 /// <param name="config">The <see cref="IConfiguration"/>.</param>
 /// <param name="logger">The <see cref="ILogger"/>.</param>
 public ResilientEventHubProcessor(ITriggeredFunctionExecutor executor, ResilientEventHubOptions options, IConfiguration config, ILogger logger)
 {
     _executor = executor;
     _options  = options;
     _config   = config;
     _logger   = logger;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ResilientEventHubBinding"/> class.
 /// </summary>
 /// <param name="host">The <see cref="EventProcessorHost"/>.</param>
 /// <param name="parameter">The originating function <see cref="ParameterInfo"/>.</param>
 /// <param name="options">The <see cref="ResilientEventHubOptions"/>.</param>
 /// <param name="config">The <see cref="IConfiguration"/>.</param>
 /// <param name="logger">The <see cref="ILogger"/>.</param>
 public ResilientEventHubBinding(EventProcessorHost host, ParameterInfo parameter, ResilientEventHubOptions options, IConfiguration config, ILogger logger)
 {
     _host      = host;
     _parameter = parameter;
     _options   = options;
     _config    = config;
     _logger    = logger;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ResilientEventHubListener"/> class.
 /// </summary>
 /// <param name="host">The <see cref="EventProcessorHost"/>.</param>
 /// <param name="executor">The <see cref="ITriggeredFunctionExecutor"/> (being the function to invoke).</param>
 /// <param name="options">The <see cref="ResilientEventHubOptions"/>.</param>
 /// <param name="config">The <see cref="IConfiguration"/>.</param>
 /// <param name="logger">The <see cref="ILogger"/>.</param>
 public ResilientEventHubListener(EventProcessorHost host, ITriggeredFunctionExecutor executor, ResilientEventHubOptions options, IConfiguration config, ILogger logger)
 {
     _host     = host;
     _executor = executor;
     _options  = options;
     _config   = config;
     _logger   = logger;
 }