Table of Contents

Class BunitHtmlParser

Namespace
Bunit.Rendering
Assembly
Bunit.Web.dll

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 HtmlComparer
testContext TestContextBase

Methods

Dispose()

public void Dispose()

Parse(string)

Parses a markup HTML string using AngleSharps HTML5 parser.

public INodeList Parse(string markup)

Parameters

markup string

The markup to parse.

Returns

INodeList

The AngleSharp.Dom.INodeList.

Progress Telerik

Premium sponsor: Progress Telerik.

Packt

Editorial support provided by Packt.

.NET Foundation

Supported by the .NET Foundation.