mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 16:20:37 +00:00
d7b2077ed8
- 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
25 lines
No EOL
507 B
C#
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; }
|
|
}
|
|
}
|
|
} |