Пример #1
0
 public AlarmConsumer(
     NotificationHubClient notificationHubClient,
     IHubContext <AlarmNotificationsHub, IAlarmNotificationClient> hubContext,
     IAccessLogger accessLogger)
 {
     _notificationHubClient = notificationHubClient;
     _hubContext            = hubContext;
     _accessLogger          = accessLogger;
 }
Пример #2
0
 public AlarmService(
     EventHubClient eventHubClient,
     NotificationHubClient notificationHubClient,
     IHubContext <AlarmNotificationsHub, IAlarmNotificationClient> hubContext,
     IAccessLogger accessLogger)
 {
     this.eventHubClient        = eventHubClient;
     this.notificationHubClient = notificationHubClient;
     this.hubContext            = hubContext;
     _accessLogger = accessLogger;
 }
Пример #3
0
 public UserChecker(IDbUserController dbUserController,
                    IDbSiteController dbSiteController,
                    IAuthorizer ldapAuthorizer,
                    ISecureSiteDataResolver secureSiteDataResolver,
                    IDbAuthController dbAuthController,
                    IAccessLogger accessLogger)
 {
     _dbUserController       = dbUserController;
     _dbSiteController       = dbSiteController;
     _authorizer             = ldapAuthorizer;
     _secureSiteDataResolver = secureSiteDataResolver;
     _dbAuthController       = dbAuthController;
     _accessLogger           = accessLogger;
 }
Пример #4
0
 public UserAuthorizer(IDbAuthController dbAuthController, IAccessLogger accessLogger)
 {
     _dbAuthController = dbAuthController;
     _accessLogger     = accessLogger;
 }