reactos/irc/TechBot/TechBot.Library/Commands/Base/XmlCommand.cs
Marc Piulachs 82b5e2eb8b * 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
2007-12-10 19:08:13 +00:00

26 lines
557 B
C#

using System;
using System.Xml;
using System.Collections.Generic;
using System.Text;
namespace TechBot.Library
{
public abstract class XmlCommand : Command
{
protected XmlDocument m_XmlDocument;
public XmlCommand(TechBotService techBot)
: base(techBot)
{
m_XmlDocument = new XmlDocument();
m_XmlDocument.Load(XmlFile);
}
public abstract string XmlFile { get; }
public XmlDocument XmlDocument
{
get { return m_XmlDocument; }
}
}
}