mirror of
https://github.com/reactos/reactos.git
synced 2025-06-13 11:28:31 +00:00
- Moved commands outside TechBot.Library to TechBot.Commands.Common and TechBot.Commands.MSDN except for Command base classes
- Made TechBot more configurable through .config files - Code refactoring - Removed automatic parameter parsing support to make everyone happy svn path=/trunk/; revision=33586
This commit is contained in:
parent
6d51a10a1b
commit
ac77d9d3a6
47 changed files with 1783 additions and 489 deletions
|
@ -17,11 +17,10 @@ namespace TechBot.Console
|
|||
|
||||
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()
|
||||
|
@ -31,8 +30,7 @@ namespace TechBot.Console
|
|||
|
||||
while (true)
|
||||
{
|
||||
string s = System.Console.ReadLine();
|
||||
InjectMessage(null, s);
|
||||
InjectMessage(System.Console.ReadLine());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue