SelectorExtensions
A set of extension methods for selectors.
Provides an alternate to Match that sets the
scope to the owning document element (if there is one).
public static IHtmlCollection<IElement> MatchAll(this ISelector selector, IEnumerable<IElement> elements, IElement scope)
Returns the elements within the given elements (using depth-first
pre-order traversal) that match the selectors with the given scope.
public static IElement MatchAny(this ISelector selector, IEnumerable<IElement> elements, IElement scope)
Returns the first element within the given elements (using depth-first
pre-order traversal) that match the selectors with the given scope.