コード例 #1
0
        public WebNotificationObserver(
            INotificationHandler notificationHandler,
            INotificationHub notificationHub,
            IQueuedNotificationService queuedNotificationService,
            IUserService userService)
        {
            _notificationHandler       = notificationHandler;
            _notificationHub           = notificationHub;
            _queuedNotificationService = queuedNotificationService;
            _userService = userService;

            _notificationHandler.Register(this);
        }