namespace System.Xml {
/// Base class for IRW class.
public abstract class XMLIRW : IDisposable {
/// Returns or sets the name of the XMLIRW object.
public abstract string Name { get; set; }
/// Returns or sets the name of the parent object of the XMLIRW element.
public abstract XMLIRW Parent { get; set; }
/// Returns or sets the type of the XMLIRW element.
public abstract XmlNodeType Type { get; set; }
/// Creates a new instance of the XMLIRW element.
protected XMLIRW(XMLIRW parent, string name, XmlNodeType type) {
Name = name;
Type = type;
Parent = parent;
}
/// Creates a new instance of the XMLIRW element.
protected XMLIRW(XMLIRW parent, string name) : this(parent, name, XmlNodeType.None) {}
/// Creates a new instance of the XMLIRW element.
protected XMLIRW(string name, XmlNodeType type) : this(default, name, type) {}
/// Creates a new instance of the XMLIRW element.
protected XMLIRW(string name) : this(default, name, XmlNodeType.None) {}
/// Creates a new instance of the XMLIRW element.
protected XMLIRW() {}
/// Discard the resources of the XMLIRW element.
public abstract void Dispose();
/// Creates a representation of the .
public override string ToString() {
return base.ToString();
}
}
}