Table of Contents

Class HtmlLinkElementExtensions

Namespace
AngleSharp.Html.Dom
Assembly
AngleSharp.dll

Defines a set of extension methods for link elements.

public static class HtmlLinkElementExtensions
Inheritance
HtmlLinkElementExtensions
Inherited Members

Methods

IsAlternate(IHtmlLinkElement)

Gets if the link contains a stylesheet that is regarded alternate.

public static bool IsAlternate(this IHtmlLinkElement link)

Parameters

link IHtmlLinkElement

The link to examine.

Returns

bool

True if the link hosts an alternate stylesheet.

IsPersistent(IHtmlLinkElement)

Gets if the link contains a stylesheet that is regarded persistent.

public static bool IsPersistent(this IHtmlLinkElement link)

Parameters

link IHtmlLinkElement

The link to examine.

Returns

bool

True if the link hosts a persistent stylesheet.

IsPreferred(IHtmlLinkElement)

Gets if the link contains a stylesheet that is regarded preferred.

public static bool IsPreferred(this IHtmlLinkElement link)

Parameters

link IHtmlLinkElement

The link to examine.

Returns

bool

True if the link hosts a preferred stylesheet.