public WebNotificationObserver( INotificationHandler notificationHandler, INotificationHub notificationHub, IQueuedNotificationService queuedNotificationService, IUserService userService) { _notificationHandler = notificationHandler; _notificationHub = notificationHub; _queuedNotificationService = queuedNotificationService; _userService = userService; _notificationHandler.Register(this); }