C# Class HtmlKit.HtmlToken

An abstract HTML token class.
An abstract HTML token class.
Datei anzeigen Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
ToString ( ) : string

Returns a System.String that represents the current HtmlToken.

Returns a System.String that represents the current HtmlToken.

WriteTo ( TextWriter output ) : void

Write the HTML token to a System.IO.TextWriter.

Writes the HTML token to a System.IO.TextWriter.

Protected Methods

Method Description
HtmlToken ( HtmlTokenKind kind ) : System

Initializes a new instance of the HtmlToken class.

Creates a new HtmlToken.

Method Details

HtmlToken() protected method

Initializes a new instance of the HtmlToken class.
Creates a new HtmlToken.
protected HtmlToken ( HtmlTokenKind kind ) : System
kind HtmlTokenKind The kind of token.
return System

ToString() public method

Returns a System.String that represents the current HtmlToken.
Returns a System.String that represents the current HtmlToken.
public ToString ( ) : string
return string

WriteTo() public abstract method

Write the HTML token to a System.IO.TextWriter.
Writes the HTML token to a System.IO.TextWriter.
/// is null. ///
public abstract WriteTo ( TextWriter output ) : void
output System.IO.TextWriter The output.
return void