reactos/irc/TechBot/TechBot.Library/Commands/Base/XmlCommand.cs
Marc Piulachs d7b2077ed8 - code refactoring
- made more and more easily extensible:
   * commands automatically loaded from plugins dlls
   * declarative and automatic command parameter parsing
   * common code moved to base classes
- other fixes

svn path=/trunk/; revision=33344
2008-05-07 14:59:28 +00:00

25 lines
No EOL
507 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()
{
m_XmlDocument = new XmlDocument();
m_XmlDocument.Load(XmlFile);
}
public abstract string XmlFile { get; }
public XmlDocument XmlDocument
{
get { return m_XmlDocument; }
}
}
}