public class ConsoleTechBotService : TechBotService
{
- public ConsoleTechBotService(
- string chmPath,
- string mainChm)
- : base(new ConsoleServiceOutput(), chmPath, mainChm)
+ public ConsoleTechBotService()
+ : base(new ConsoleServiceOutput())
{
+ System.Console.WriteLine("TechBot running console service...");
}
public override void Run()
while (true)
{
- string s = System.Console.ReadLine();
- InjectMessage(null, s);
+ InjectMessage(System.Console.ReadLine());
}
}
}