AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.9.9.2" />

.NET API 1,223,680 bytes

 ParentNodeExtensions

static class ParentNodeExtensions
Useful methods for parent node objects.
public static void AppendNodes(this INode parent, INode[] nodes)

Appends nodes to parent node.

public static IEnumerable<TNode> DescendentsAndSelf<TNode>(this INode parent)

Gets the descendent nodes including itself of the given parent.

public static IEnumerable<INode> DescendentsAndSelf(this INode parent)

Gets the descendent nodes including itself of the given parent.

public static void InsertAfter(this INode child, INode[] nodes)

Inserts nodes after the given child.

public static void InsertBefore(this INode child, INode[] nodes)

Inserts nodes before the given child.

public static INode MutationMacro(this INode parent, INode[] nodes)

Runs the mutation macro as defined in 5.2.2 Mutation methods of http://www.w3.org/TR/domcore/.

public static void PrependNodes(this INode parent, INode[] nodes)

Prepends nodes to the parent node.

public static void RemoveFromParent(this INode child)

Removes the child from its parent.

public static void ReplaceWith(this INode child, INode[] nodes)

Replaces the given child with the nodes.