Table of Contents

Constructor HtmlContent

Namespace
Sisk.Core.Http
Assembly
Sisk.Core.dll

HtmlContent(string, Encoding)

Creates an new HtmlContent class with given HTML content and encoding.

public HtmlContent(string content, Encoding encoding)

Parameters

content string

The HTML content string.

encoding Encoding

The encoding which will encode the HTML contents.

HtmlContent(string)

Creates an new HtmlContent class with given HTML content, using the environment default encoding.

public HtmlContent(string content)

Parameters

content string

The HTML content string.