AngleSharp by Florian Rappl

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

.NET API 844,288 bytes

 INodeIterator

public interface INodeIterator
The NodeIterator interface represents an iterator over the members of a list of the nodes in a subtree of the DOM. The nodes will be returned in document order.
NodeFilter Filter { get; }

Gets the NodeFilter used to select the relevant nodes.

bool IsBeforeReference { get; }

Gets an indicator whether the NodeFilter is anchored before the reference node.

INode Reference { get; }

Gets the Node to which the iterator is anchored.

INode Root { get; }

Gets a Node representing the root node as specified when the NodeIterator was created.

Gets a description of the types of nodes that must to be presented. Non-matching nodes are skipped, but their children may be included, if relevant.

Returns the next Node in the document, or null if there are none.

Returns the previous Node in the document, or null if there are none.