AngleSharp by AngleSharp

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

 PseudoElementSelectorFactory

Provides string to CSS pseudo element selector instance mappings.

public ISelector Create(string name)

Creates or gets the associated CSS pseudo element selector.

protected virtual ISelector CreateDefault(string name)

Creates the default CSS pseudo element selector for the given name.

public void Register(string name, ISelector selector)

Registers a new selector for the specified name. Throws an exception if another selector for the given name is already added.

public ISelector Unregister(string name)

Unregisters an existing selector for the given name.