Class HtmlParserExtensions
- Namespace
- AngleSharp.Html.Parser
- Assembly
- AngleSharp.dll
Extensions for the IHtmlParser instances.
public static class HtmlParserExtensions
- Inheritance
-
HtmlParserExtensions
- Inherited Members
Methods
ParseDocumentAsync(IHtmlParser, IDocument)
Populates the given document asynchronously.
public static Task<IDocument> ParseDocumentAsync(this IHtmlParser parser, IDocument document)
Parameters
parser
IHtmlParserdocument
IDocument
Returns
ParseDocumentAsync(IHtmlParser, Stream)
Parses the stream asynchronously.
public static Task<IHtmlDocument> ParseDocumentAsync(this IHtmlParser parser, Stream source)
Parameters
parser
IHtmlParsersource
Stream
Returns
ParseDocumentAsync(IHtmlParser, string)
Parses the string asynchronously.
public static Task<IHtmlDocument> ParseDocumentAsync(this IHtmlParser parser, string source)
Parameters
parser
IHtmlParsersource
string
Returns
ParseHeadAsync(IHtmlParser, Stream)
Parses the stream asynchronously.
public static Task<IHtmlHeadElement?> ParseHeadAsync(this IHtmlParser parser, Stream source)
Parameters
parser
IHtmlParsersource
Stream
Returns
ParseHeadAsync(IHtmlParser, string)
Parses the string asynchronously.
public static Task<IHtmlHeadElement?> ParseHeadAsync(this IHtmlParser parser, string source)
Parameters
parser
IHtmlParsersource
string