コード例 #1
0
 /// <summary>
 /// Initialises a new instance of the <see cref="LinkerService"/> class.
 /// </summary>
 public LinkerService(
     IMediaWikiApiHelper apiHelper,
     ISession databaseSession,
     IIrcClient client,
     ILogger logger,
     IChannelManagementService channelManagementService)
 {
     this.apiHelper                = apiHelper;
     this.databaseSession          = databaseSession;
     this.client                   = client;
     this.logger                   = logger;
     this.channelManagementService = channelManagementService;
     this.lastLink                 = new Dictionary <string, string>();
 }
コード例 #2
0
 public JoinChannelCommand(
     string commandSource,
     IUser user,
     IList <string> arguments,
     ILogger logger,
     IFlagService flagService,
     IConfigurationProvider configurationProvider,
     IIrcClient client,
     IChannelManagementService channelManagementService) : base(
         commandSource,
         user,
         arguments,
         logger,
         flagService,
         configurationProvider,
         client)
 {
     this.channelManagementService = channelManagementService;
 }
コード例 #3
0
 public ChampagneCommand(
     string commandSource,
     IUser user,
     IList <string> arguments,
     ILogger logger,
     IFlagService flagService,
     IConfigurationProvider configurationProvider,
     IIrcClient client,
     IResponder responder,
     IChannelManagementService channelManagementService) : base(
         commandSource,
         user,
         arguments,
         logger,
         flagService,
         configurationProvider,
         client,
         responder,
         channelManagementService)
 {
 }
コード例 #4
0
ファイル: FunCommandBase.cs プロジェクト: helpmebot/helpmebot
 protected FunCommandBase(
     string commandSource,
     IUser user,
     IList <string> arguments,
     ILogger logger,
     IFlagService flagService,
     IConfigurationProvider configurationProvider,
     IIrcClient client,
     IResponder responder,
     IChannelManagementService channelManagementService) : base(
         commandSource,
         user,
         arguments,
         logger,
         flagService,
         configurationProvider,
         client)
 {
     this.channelManagementService = channelManagementService;
     this.Responder = responder;
 }
コード例 #5
0
 public InsallerSetupBinder(IChannelManagementService channelManagementService)
 {
     _channelManagementService = channelManagementService;
 }
コード例 #6
0
        public ChannelsController(IChannelManagementService channelManagementService)
        {
            Check.Require(channelManagementService != null, "channelManagementService may not be null");

            this.channelManagementService = channelManagementService;
        }