Sisk

Class

XmlNode

Namespace
TinyComponents
Assembly
TinyComponents.dll

Represents an renderable XML node.

C#
public class XmlNode : INode

Inheritance #

object ← XmlNode

Implements #

INode

Inherited Members #

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Extension Methods #

XmlNodeExtensions.SelfClosed<XmlNode>(XmlNode), XmlNodeExtensions.WithAttribute<XmlNode>(XmlNode, string), XmlNodeExtensions.WithAttribute<XmlNode>(XmlNode, string, object?), XmlNodeExtensions.WithAttributes<XmlNode>(XmlNode, object?), XmlNodeExtensions.WithContent<XmlNode>(XmlNode, Action<XmlNode>), XmlNodeExtensions.WithContent<XmlNode>(XmlNode, object?), XmlNodeExtensions.WithContent<XmlNode>(XmlNode, string?)

Constructors #

NameDescription
XmlNode(string)Initializes a new instance of the XmlNode class with the specified tag name.
XmlNode(string, object?)Initializes a new instance of the XmlNode class with the specified tag name and content.
XmlNode(string, string)Initializes a new instance of the XmlNode class with the specified tag name and content.
XmlNode(string, Action<XmlNode>)Initializes a new instance of the XmlNode class with the specified tag name.

Properties #

NameDescription
AttributesGets or sets the collection of attributes for this node.
ChildrenGets or sets the collection of child elements within this node.
SelfClosingGets or sets a value indicating whether this XML node is self-closing.
TagNameGets or sets the tag name of the XML node.

Methods #

NameDescription
ToString()Renders this XmlNode into it’s XML string representation.

Operators #

NameDescription
operator +(XmlNode, XmlNode?)
operator +(XmlNode, object?)
operator +(XmlNode, string?)

Type to search the documentation and the API reference.