Table of Contents

Class XmlNode

Namespace: TinyComponents
Assembly: TinyComponents.dll

Represents an renderable XML node.

public class XmlNode : INode

Inheritance

objectXmlNode

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

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

Attributes

Gets or sets the collection of attributes for this node.

Children

Gets or sets the collection of child elements within this node.

SelfClosing

Gets or sets a value indicating whether this XML node is self-closing.

TagName

Gets or sets the tag name of the XML node.

Methods

ToString()

Renders this XmlNode into it's XML string representation.

Operators

operator +(XmlNode, XmlNode?)

operator +(XmlNode, object?)

operator +(XmlNode, string?)