C# Class Headless.MemoryHtmlPage

The MemoryHtmlPage class provides a HtmlPage created from a string of HTML rather than the result of a browser request.
Inheritance: HtmlPage
显示文件 Open project: roryprimrose/Headless Class Usage Examples

Public Methods

Method Description
MemoryHtmlPage ( IBrowser browser, string html ) : System

Initializes a new instance of the MemoryHtmlPage class.

Method Details

MemoryHtmlPage() public method

Initializes a new instance of the MemoryHtmlPage class.
The parameter is null. The parameter is null, empty or only contains white space.
public MemoryHtmlPage ( IBrowser browser, string html ) : System
browser IBrowser /// The browser. ///
html string /// The HTML. ///
return System