mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
82b5e2eb8b
* remove old outdated SD project files * make it use some .NET 2.0 features as generic collections and settings svn path=/trunk/; revision=31130
32 lines
694 B
C#
32 lines
694 B
C#
using System;
|
|
|
|
namespace TechBot.Library
|
|
{
|
|
public class SvnCommand : Command
|
|
{
|
|
private string m_SvnRoot;
|
|
|
|
public SvnCommand(TechBotService techBot)
|
|
: base(techBot)
|
|
{
|
|
m_SvnRoot = Settings.Default.SVNRoot;
|
|
}
|
|
|
|
public override string[] AvailableCommands
|
|
{
|
|
get { return new string[] { "svn" }; }
|
|
}
|
|
|
|
public override void Handle(MessageContext context,
|
|
string commandName,
|
|
string parameters)
|
|
{
|
|
TechBot.ServiceOutput.WriteLine(context, string.Format("svn co {0}" , m_SvnRoot));
|
|
}
|
|
|
|
public override string Help()
|
|
{
|
|
return "!svn";
|
|
}
|
|
}
|
|
}
|