Table of Contents

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 IHtmlLinkElement
processor IRequestProcessor

Properties

Gets the associated link element.

public IHtmlLinkElement Link { get; }

Property Value

IHtmlLinkElement

Processor

Gets the assigned request processor.

public IRequestProcessor Processor { get; }

Property Value

IRequestProcessor

Url

Gets the currently used URL.

public Url? Url { get; }

Property Value

Url

Methods

LoadAsync()

Starts loading the associated resource(s) asynchronously.

public abstract Task LoadAsync()

Returns

Task