AngleSharp by AngleSharp

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

 CssBuilder

sealed class CssBuilder
See http://dev.w3.org/csswg/css-syntax/#parsing for details.
public CssBuilder(CssTokenizer tokenizer, CssParser parser)

public CssRule CreateCharset(CssToken current)

Called before any token in the value regime had been seen.

Called before the property name has been detected.

public CssProperty CreateDeclarationWith(Func<string, CssProperty> createProperty, ref CssToken token)

Called before the property name has been detected.

Called when the document functions have to been found.

public CssRule CreateImport(CssToken current)

Called in the text for a frame in the @keyframes rule.

public CssRule CreateMedia(CssToken current)

public List<CssMedium> CreateMedia(ref CssToken token)

Creates a list of CssMedium objects.

public CssMedium CreateMedium(ref CssToken token)

Scans the current medium for the @media or @import rule.

public CssRule CreatePage(CssToken current)

public CssRule CreateRule(CssToken token)

Creates as many rules as possible.

public CssRule CreateStyle(CssToken current)

public CssRule CreateUnknown(CssToken current)

public CssValue CreateValue(ref CssToken token)

Creates a single value. Does not care about the !important flag.

Fills the given parent style with declarations given by the tokens.