AngleSharp by Florian Rappl

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

 CssSelectorConstructor

sealed class CssSelectorConstructor
Class for construction for CSS selectors as specified in http://www.w3.org/html/wg/drafts/html/master/selectors.html.
public bool IgnoreErrors { get; set; }

Gets or sets if errors should be ignored.

public Selector Result { get; }

Gets the currently formed selector.

Creates a new constructor object.

public void Apply(CssToken token)

Picks a simple selector from the stream of tokens.

Resets the current state.