Class BunitHtmlParser
A AngleSharp based HTML Parse that can parse markup strings into a AngleSharp.Dom.INodeList.
public sealed class BunitHtmlParser : IDisposable
- Inheritance
-
BunitHtmlParser
- Implements
- Inherited Members
- Extension Methods
Constructors
BunitHtmlParser()
Initializes a new instance of the BunitHtmlParser class with a AngleSharp context without a TestRenderer registered.
public BunitHtmlParser()
BunitHtmlParser(HtmlComparer, TestContextBase)
Initializes a new instance of the BunitHtmlParser class with a AngleSharp context registered.
public BunitHtmlParser(HtmlComparer htmlComparer, TestContextBase testContext)
Parameters
htmlComparer
HtmlComparertestContext
TestContextBase
Methods
Dispose()
public void Dispose()
Parse(string)
Parses a markup HTML string using AngleSharps HTML5 parser.
public INodeList Parse(string markup)
Parameters
markup
stringThe markup to parse.
Returns
- INodeList
The AngleSharp.Dom.INodeList.