Table of Contents

Class XmlNodeExtensions

Namespace
TinyComponents
Assembly
TinyComponents.dll

Provides extension methods for INode objects.

public static class XmlNodeExtensions
Inheritance
XmlNodeExtensions
Inherited Members

Methods

SelfClosed<TXmlNode>(TXmlNode)

Specifies that this INode will be self-closed.

WithAttribute<TXmlNode>(TXmlNode, string)

Specifies an attribute for this INode.

WithAttribute<TXmlNode>(TXmlNode, string, object?)

Specifies an attribute for this INode.

WithAttributes<TXmlNode>(TXmlNode, object?)

Specifies multiple attributes for this INode from an object.

WithContent<TXmlNode>(TXmlNode, Action<TXmlNode>)

Specifies children contents for this INode.

WithContent<TXmlNode>(TXmlNode, object?)

Specifies children contents for this INode.

WithContent<TXmlNode>(TXmlNode, string?)

Specifies children contents for this INode.