Class BaseLinkRelation
- Namespace
- AngleSharp.Html.LinkRels
- Assembly
- AngleSharp.dll
Base type for the all link rel field types.
public abstract class BaseLinkRelation
- Inheritance
-
BaseLinkRelation
- Inherited Members
- Extension Methods
Constructors
BaseLinkRelation(IHtmlLinkElement, IRequestProcessor)
Creates a new instance of the relation processor.
public BaseLinkRelation(IHtmlLinkElement link, IRequestProcessor processor)
Parameters
link
IHtmlLinkElementprocessor
IRequestProcessor
Properties
Link
Gets the associated link element.
public IHtmlLinkElement Link { get; }
Property Value
Processor
Gets the assigned request processor.
public IRequestProcessor Processor { get; }
Property Value
Url
Gets the currently used URL.
public Url? Url { get; }
Property Value
Methods
LoadAsync()
Starts loading the associated resource(s) asynchronously.
public abstract Task LoadAsync()