AngleSharp by Florian Rappl

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

 Selector

public abstract class Selector
Represents a CSS selector as specified in http://dev.w3.org/csswg/selectors4/
public abstract int Specifity { get; }

Gets the specifity of the given selector.

protected Selector()

public abstract bool Match(Element element)

Determines if the given object is matched by this selector.

public abstract string ToCss()

Returns a valid CSS string representing this selector.