AngleSharp by AngleSharp

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

 AttributeSelectorFactory

Provides string to CSS attribute selector instance mappings.
public sealed delegate Creator : MulticastDelegate

Represents a creator delegate for creating an attribute selector.

public ISelector Create(string combinator, string name, string value, string prefix)

Creates the associated CSS attribute selector.

protected virtual ISelector CreateDefault(string name, string value, string prefix)

Creates the default CSS attribute selector for the given options.

public void Register(string combinator, Creator creator)

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

public Creator Unregister(string combinator)

Unregisters an existing creator for the given combinator.