Sisk

Class

XmlNodeExtensions

Namespace
TinyComponents
Assembly
TinyComponents.dll

Provides extension methods for INode objects.

C#
public static class XmlNodeExtensions

Inheritance #

object ← XmlNodeExtensions

Inherited Members #

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

Methods #

NameDescription
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.

Type to search the documentation and the API reference.