public ScheduledTaskCallbackConsumer(ILogger <ScheduledTaskCallbackConsumer> logger, IServiceBusSubscriptionClientFactory serviceBusSubscriptionClientFactory, IOptions <ServiceBusConfiguration> options, IServiceScopeFactory scopeFactory)
 {
     _logger        = logger;
     _clientFactory = serviceBusSubscriptionClientFactory;
     _scopeFactory  = scopeFactory;
     _options       = options.Value;
 }
Ejemplo n.º 2
0
 public ApplicationRegistrationConsumer(ILogger <ApplicationRegistrationConsumer> logger, IServiceBusSubscriptionClientFactory serviceBusSubscriptionClientFactory, IOptions <ServiceBusConfiguration> options, IServiceScopeFactory scopeFactory)
 {
     _logger        = logger;
     _clientFactory = serviceBusSubscriptionClientFactory;
     _scopeFactory  = scopeFactory;
     _options       = options.Value;
 }
 public SchedulerConsumer(ILogger <SchedulerConsumer> logger, IServiceBusSubscriptionClientFactory serviceBusSubscriptionClientFactory, IOptions <SchedulerServiceBusConfiguration> options, IServiceScopeFactory scopeFactory, ISchedulerResponseProducer responseProducer)
 {
     _logger           = logger;
     _clientFactory    = serviceBusSubscriptionClientFactory;
     _scopeFactory     = scopeFactory;
     _responseProducer = responseProducer;
     _options          = options.Value;
 }