* refactor the code to make it more OOP and extensible

* remove old outdated SD project files
* make it use some .NET 2.0 features as generic collections and settings 

svn path=/trunk/; revision=31130
This commit is contained in:
Marc Piulachs 2007-12-10 19:08:13 +00:00
parent 588f8770cd
commit 82b5e2eb8b
31 changed files with 687 additions and 491 deletions

View file

@ -8,11 +8,6 @@
<add key="IRCBotPassword" value="MyPassword" />
<add key="ChmPath" value="C:\IRC\TechBot\CHM" />
<add key="MainChm" value="kmarch.chm" />
<add key="NtstatusXml" value="ntstatus.xml" />
<add key="WinerrorXml" value="winerror.xml" />
<add key="HresultXml" value="hresult.xml" />
<add key="WmXml" value="wm.xml" />
<add key="SvnCommand" value="svn co svn://svn.reactos.org/trunk/reactos" />
<add key="BugUrl" value="http://www.reactos.org/bugzilla/show_bug.cgi?id={0}" />
<add key="WineBugUrl" value="http://bugs.winehq.org/show_bug.cgi?id={0}" />
<add key="SambaBugUrl" value="https://bugzilla.samba.org/show_bug.cgi?id={0}" />

View file

@ -217,11 +217,11 @@ namespace TechBot.Console
IRCBotPassword,
ChmPath,
MainChm,
NtstatusXml,
WinerrorXml,
HresultXml,
WmXml,
SvnCommand,
//NtstatusXml,
//WinerrorXml,
//HresultXml,
//WmXml,
//SvnCommand,
BugUrl,
WineBugUrl,
SambaBugUrl);
@ -239,15 +239,15 @@ namespace TechBot.Console
System.Console.WriteLine("TechBot running console service...");
TechBotService service = new TechBotService(new ConsoleServiceOutput(),
ChmPath,
MainChm,
NtstatusXml,
WinerrorXml,
HresultXml,
WmXml,
SvnCommand,
BugUrl,
WineBugUrl,
SambaBugUrl);
MainChm);
//NtstatusXml,
//WinerrorXml,
//HresultXml,
//WmXml,
//SvnCommand,
//BugUrl,
//WineBugUrl,
//SambaBugUrl);
service.Run();
while (true)
{

View file

@ -53,6 +53,9 @@
<Name>TechBot.Library</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>