C# Class Ramone.MediaTypes.Html.HtmlAnchorExtensions

Mostrar archivo Open project: JornWildt/Ramone

Public Methods

Method Description
Anchor ( this node, Response response ) : Ramone.MediaTypes.Html.Anchor

Convert a single HTML node to ILink, assuming the node represents a anchor.

Anchor ( this node, Uri baseUrl ) : Ramone.MediaTypes.Html.Anchor
Anchors ( this html, Response response ) : IEnumerable

Get all anchors in the HTML document as a sequence of ILink.

Anchors ( this html, Uri baseUrl ) : IEnumerable

Method Details

Anchor() public static method

Convert a single HTML node to ILink, assuming the node represents a anchor.
public static Anchor ( this node, Response response ) : Ramone.MediaTypes.Html.Anchor
node this
response Response The response from which the html originates. /// The response information is used to convert relative links to absolute links.
return Ramone.MediaTypes.Html.Anchor

Anchor() public static method

public static Anchor ( this node, Uri baseUrl ) : Ramone.MediaTypes.Html.Anchor
node this
baseUrl System.Uri
return Ramone.MediaTypes.Html.Anchor

Anchors() public static method

Get all anchors in the HTML document as a sequence of ILink.
public static Anchors ( this html, Response response ) : IEnumerable
html this
response Response The response from which the html originates. /// The response information is used to convert relative links to absolute links.
return IEnumerable

Anchors() public static method

public static Anchors ( this html, Uri baseUrl ) : IEnumerable
html this
baseUrl System.Uri
return IEnumerable