Beispiel #1
0
 public ApiService(
     ILogger logger,
     IIrcClient client,
     ICommandParser commandParser,
     BotConfiguration botConfiguration,
     IIrcConfiguration ircConfiguration,
     ILoginTokenService loginTokenService,
     ISessionFactory sessionFactory,
     IResponseManager responseManager)
 {
     this.logger            = logger;
     this.client            = client;
     this.commandParser     = commandParser;
     this.botConfiguration  = botConfiguration;
     this.ircConfiguration  = ircConfiguration;
     this.loginTokenService = loginTokenService;
     this.sessionFactory    = sessionFactory;
     this.responseManager   = responseManager;
 }
Beispiel #2
0
 public WebLoginCommand(
     string commandSource,
     IUser user,
     IList <string> arguments,
     ILogger logger,
     IFlagService flagService,
     IConfigurationProvider configurationProvider,
     IIrcClient client,
     ILoginTokenService loginTokenService,
     IResponder responder) : base(
         commandSource,
         user,
         arguments,
         logger,
         flagService,
         configurationProvider,
         client)
 {
     this.loginTokenService = loginTokenService;
     this.responder         = responder;
 }