AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.16.1-alpha-155" />

.NET API 880,640 bytes

 ISelector

public interface ISelector
Represents a CSS selector for matching elements. More information: http://dev.w3.org/csswg/selectors4/

Gets the specificity of the given selector.

string Text { get; }

Gets the string representation of the selector.

void Accept(ISelectorVisitor visitor)

Accepts a selector visitor to expose more information.

bool Match(IElement element, IElement scope)

Determines if the given object is matched by this selector.