AngleSharp by AngleSharp

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

 DefaultLinkRelationFactory

Provides string to Relation instance mappings.
public sealed delegate Creator : MulticastDelegate

Represents a creator delegate for creating link relation providers.

public BaseLinkRelation Create(IHtmlLinkElement link, string rel)

Creates an LinkRel provider for the provided element.

protected virtual BaseLinkRelation CreateDefault(IHtmlLinkElement link, string rel)

Creates the default LinkRel provider for the given link element and relation. By default this is null.

public void Register(string rel, Creator creator)

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

public Creator Unregister(string rel)

Unregisters an existing creator for the given relation.