C# Class HtmlKit.HtmlCommentToken

An HTML comment token.
An HTML comment token.
Inheritance: HtmlToken
Datei anzeigen Open project: prepare/HTML-Renderer

Public Methods

Method Description
HtmlCommentToken ( string comment, bool bogus = false ) : System

Initializes a new instance of the HtmlCommentToken class.

Creates a new HtmlCommentToken.

WriteTo ( TextWriter output ) : void

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

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

Method Details

HtmlCommentToken() public method

Initializes a new instance of the HtmlCommentToken class.
Creates a new HtmlCommentToken.
/// is null. ///
public HtmlCommentToken ( string comment, bool bogus = false ) : System
comment string The comment text.
bogus bool true if the comment is bogus; otherwise, false.
return System

WriteTo() public method

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