public EmergencyNotificationsHostedService(
     IOptions <NotificationWorkerOptions> options,
     ILogger <EmergencyNotificationsHostedService> logger,
     IEmergencyNotificationsQueueService queueService,
     IServiceProvider provider)
 {
     _options      = options.Value;
     _logger       = logger;
     _queueService = queueService;
     _provider     = provider;
 }
示例#2
0
 public EnqueueEmergencyNotificationOperation(IEmergencyNotificationsQueueService queueService)
 {
     _queueService = queueService;
 }