C# Class HtmlKit.HtmlTagToken

An HTML tag token.
An HTML tag token.
Inheritance: HtmlToken
Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat System

HtmlTagToken() public méthode

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.
Résultat System

WriteTo() public méthode

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.
Résultat void