コード例 #1
0
 public XmlCommand(string commandSource,
                   IUser user,
                   IList <string> arguments,
                   ILogger logger,
                   IFlagService flagService,
                   IConfigurationProvider configurationProvider,
                   IIrcClient client,
                   IXmlCacheService xmlCacheService) : base(
         commandSource,
         user,
         arguments,
         logger,
         flagService,
         configurationProvider,
         client)
 {
     this.xmlCacheService = xmlCacheService;
 }
コード例 #2
0
 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;
 }