C# Class HtmlKit.HtmlDataToken

An HTML token constisting of character data.
An HTML token consisting of character data.
Inheritance: HtmlToken
Mostrar archivo Open project: prepare/HTML-Renderer

Private Properties

Property Type Description

Public Methods

Method Description
HtmlDataToken ( string data ) : System

Initializes a new instance of the HtmlDataToken class.

Creates a new HtmlDataToken.

WriteTo ( TextWriter output ) : void

Write the HTML character data to a System.IO.TextWriter.

Writes the HTML character data to a System.IO.TextWriter, encoding it if it isn't already encoded.

Protected Methods

Method Description
HtmlDataToken ( HtmlTokenKind kind, string data ) : System

Initializes a new instance of the HtmlDataToken class.

Creates a new HtmlDataToken.

Method Details

HtmlDataToken() protected method

Initializes a new instance of the HtmlDataToken class.
Creates a new HtmlDataToken.
/// is not a valid . /// /// is null. ///
protected HtmlDataToken ( HtmlTokenKind kind, string data ) : System
kind HtmlTokenKind The kind of character data.
data string The character data.
return System

HtmlDataToken() public method

Initializes a new instance of the HtmlDataToken class.
Creates a new HtmlDataToken.
/// is null. ///
public HtmlDataToken ( string data ) : System
data string The character data.
return System

WriteTo() public method

Write the HTML character data to a System.IO.TextWriter.
Writes the HTML character data to a System.IO.TextWriter, encoding it if it isn't already encoded.
/// is null. ///
public WriteTo ( TextWriter output ) : void
output System.IO.TextWriter The output.
return void