C# 클래스 HtmlKit.HtmlTagToken

An HTML tag token.
An HTML tag token.
상속: HtmlToken
파일 보기 프로젝트 열기: prepare/HTML-Renderer 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

HtmlTagToken() 공개 메소드

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.
리턴 System

HtmlTagToken() 공개 메소드

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.
리턴 System

WriteTo() 공개 메소드

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.
리턴 void