C# Class HtmlKit.HtmlTagToken

An HTML tag token.
An HTML tag token.
Inheritance: HtmlToken
Datei anzeigen Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
HtmlTagToken ( string name, IEnumerable attributes, bool isEmptyElement ) : System

Initializes a new instance of the HtmlTagToken class.

Creates a new HtmlTagToken.

HtmlTagToken ( string name, bool isEndTag ) : System

Initializes a new instance of the HtmlTagToken class.

Creates a new HtmlTagToken.

WriteTo ( TextWriter output ) : void

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

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

Method Details

HtmlTagToken() public method

Initializes a new instance of the HtmlTagToken class.
Creates a new HtmlTagToken.
/// is null. /// -or- /// is null. ///
public HtmlTagToken ( string name, IEnumerable attributes, bool isEmptyElement ) : System
name string The name of the tag.
attributes IEnumerable The attributes.
isEmptyElement bool true if the tag is an empty element; otherwise, false.
return System

HtmlTagToken() public method

Initializes a new instance of the HtmlTagToken class.
Creates a new HtmlTagToken.
/// is null. ///
public HtmlTagToken ( string name, bool isEndTag ) : System
name string The name of the tag.
isEndTag bool true if the tag is an end tag; otherwise, false.
return System

WriteTo() public method

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