AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="1.3.0" />

 IHtmlParser

public interface IHtmlParser : IParser, IEventTarget
Represents the interface of an HTML parser.

Parses the string and returns the result.

Parses the stream and returns the result.

IHtmlDocument ParseDocument(char[] source, int length = 0)

Parses the read only chunk of chars and returns the result.

Parses text source and returns result.

Parses the read only chunk of chars and returns the result.

TDocument ParseDocument<TDocument, TElement>(TextSource source, TokenizerMiddleware middleware = null) where TDocument : IConstructableDocument where TElement : IConstructableElement

Parses the read only text source and returns the result.

Parses the string asynchronously.

Parses the stream asynchronously.

Populates the given HTML document asynchronously.

INodeList ParseFragment(string source, IElement contextElement)

Parses the string and returns the result.

INodeList ParseFragment(Stream source, IElement contextElement)

Parses the stream and returns the result.

IHtmlHeadElement ParseHead(string source)

Parses the string and returns the head.

Parses the stream and returns the head.

Parses the string asynchronously.

Parses the stream asynchronously.