Table of Contents

Interface ILinkRelationFactory

Namespace
AngleSharp.Html
Assembly
AngleSharp.dll

Represents the factory for resolving link relation.

public interface ILinkRelationFactory
Extension Methods

Methods

Create(IHtmlLinkElement, string?)

Creates an link relation provider for the given element.

BaseLinkRelation? Create(IHtmlLinkElement link, string? relation)

Parameters

link IHtmlLinkElement

The link element.

relation string

The current value of the rel attribute.

Returns

BaseLinkRelation

The provider instance or null.