public WorkflowNotificationService(CommonSettings commonSettings, EmailAccountSettings emailAccountSettings, IUserService userService, IEmailAccountService emailAccountService, IEventPublisher eventPublisher, ILanguageService languageService, ILocalizationService localizationService, IMessageTemplateService messageTemplateService, IMessageTokenProvider messageTokenProvider, IQueuedEmailService queuedEmailService, IQueuedNotificationService queuedNotificationService, ITokenizer tokenizer) { this._commonSettings = commonSettings; this._emailAccountSettings = emailAccountSettings; this._userService = userService; this._emailAccountService = emailAccountService; this._eventPublisher = eventPublisher; this._languageService = languageService; this._localizationService = localizationService; this._messageTemplateService = messageTemplateService; this._messageTokenProvider = messageTokenProvider; this._queuedEmailService = queuedEmailService; this._queuedNotificationService = queuedNotificationService; this._tokenizer = tokenizer; }
public WebNotificationObserver( INotificationHandler notificationHandler, INotificationHub notificationHub, IQueuedNotificationService queuedNotificationService, IUserService userService) { _notificationHandler = notificationHandler; _notificationHub = notificationHub; _queuedNotificationService = queuedNotificationService; _userService = userService; _notificationHandler.Register(this); }