public AccountCommand(string commandSource, IUser user, IList <string> arguments, ILogger logger, IFlagService flagService, IConfigurationProvider configurationProvider, IIrcClient client, IBotUserConfiguration botUserConfiguration, IEmailHelper emailHelper, IAppConfiguration config, INotificationTemplates templates, IChannelConfiguration channelConfiguration) : base( commandSource, user, arguments, logger, flagService, configurationProvider, client) { this.appConfig = config; this.templates = templates; this.channelConfiguration = channelConfiguration; this.botUserConfiguration = botUserConfiguration; this.emailHelper = emailHelper; }
public RecentChangeHandler( IAppConfiguration appConfig, ILogger logger, IChannelConfiguration channelConfig, IBotUserConfiguration botUserConfiguration, IIrcClient freenodeClient, IEmailHelper emailHelper, INotificationTemplates templates, IEmailTemplateFormatter emailTemplateFormatter, ISubscriptionHelper subscriptionHelper) { this.appConfig = appConfig; this.logger = logger; this.channelConfig = channelConfig; this.botUserConfiguration = botUserConfiguration; this.freenodeClient = freenodeClient; this.emailHelper = emailHelper; this.templates = templates; this.emailTemplateFormatter = emailTemplateFormatter; this.subscriptionHelper = subscriptionHelper; if (this.appConfig.EmailConfiguration == null) { this.logger.Warn("Not sending email; email configuration is disabled"); } }
public EmailHelper(IAppConfiguration appConfig, IEmailSender emailSender, ILogger logger, INotificationTemplates templates, IIrcClient freenodeClient) { this.logger = logger; this.templates = templates; this.freenodeClient = freenodeClient; this.appConfig = appConfig; this.emailSender = emailSender; }
public EmailTemplateFormatter( IAppConfiguration appConfig, IChannelConfiguration channelConfig, INotificationTemplates templates) { this.appConfig = appConfig; this.channelConfig = channelConfig; this.templates = templates; }
public StalkCommand( string commandSource, IUser user, IList <string> arguments, ILogger logger, IFlagService flagService, IConfigurationProvider configurationProvider, IIrcClient client, IChannelConfiguration channelConfiguration, IStalkNodeFactory stalkNodeFactory, IAppConfiguration config, INotificationTemplates templates, IEmailHelper emailHelper, IXmlCacheService xmlCacheService, IBotUserConfiguration botUserConfiguration, ISubscriptionHelper subscriptionHelper, IIrcClient wikimediaClient, IEmailTemplateFormatter emailTemplateFormatter ) : base( commandSource, user, arguments, logger, flagService, configurationProvider, client) { this.channelConfiguration = channelConfiguration; this.config = config; this.templates = templates; this.emailHelper = emailHelper; this.xmlCacheService = xmlCacheService; this.botUserConfiguration = botUserConfiguration; this.subscriptionHelper = subscriptionHelper; this.wikimediaClient = wikimediaClient; this.emailTemplateFormatter = emailTemplateFormatter; this.stalkNodeFactory = stalkNodeFactory; }