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
IHtmlLinkElementThe link element.
relation
stringThe current value of the rel attribute.
Returns
- BaseLinkRelation
The provider instance or null.