Constructor HtmlContent
HtmlContent(string, Encoding)
Creates an new HtmlContent class with given HTML content and encoding.
public HtmlContent(string content, Encoding encoding)
Parameters
content
stringThe HTML content string.
encoding
EncodingThe 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
stringThe HTML content string.