protected EmailEventHandler(IEmailService emailService, IApplicationInformation appInfo, IMessagingFormatter <TEvent> formatter) : base(appInfo) { if (emailService == null) { throw new ArgumentNullException("emailService"); } _emailService = emailService; _messageFormatter = formatter; }
public MessagingChannel(ILogger <MessagingChannel> log, ILogStore logStore, IAppStore appStore, IIntegrationManager integrationManager, IMessagingFormatter messagingFormatter, IMessagingTemplateStore messagingTemplateStore, IUserNotificationQueue userNotificationQueue, IUserNotificationStore userNotificationStore) { this.appStore = appStore; this.log = log; this.logStore = logStore; this.integrationManager = integrationManager; this.messagingFormatter = messagingFormatter; this.messagingTemplateStore = messagingTemplateStore; this.userNotificationQueue = userNotificationQueue; this.userNotificationStore = userNotificationStore; }
public EmailUserAccountEventHandler(IEmailService emailService, IApplicationInformation appInfo, IMessagingFormatter <UserAccountEvent> formatter) : base(emailService, appInfo, formatter) { }