AngleSharp by Florian Rappl

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

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