예제 #1
0
 public DoorQueueService(IOptions <AppSettings> options,
                         ILogger <DoorQueueService> logger,
                         IDoorEventService doorEventService)
 {
     _logger       = logger;
     _doorEventSvc = doorEventService;
     _hubSettings  = options.Value.DoorEventHubSettings;
 }
 public DoorMonitoringService(IPinService pinCheckerService,
                              IDoorStateService doorStateService,
                              IDoorEventService doorEventService,
                              IOptions <AppSettings> options,
                              ILogger <DoorMonitoringService> logger)
 {
     _logger            = logger;
     _appSettings       = options.Value;
     _doorStateService  = doorStateService;
     _doorEventService  = doorEventService;
     _pinCheckerService = pinCheckerService;
 }
 public EventHubProcessorFactory(ILogger logger, IDoorEventService doorEventService)
 {
     _logger       = logger;
     _doorEventSvc = doorEventService;
 }