C# 클래스 Razordex.PokemonHTMLViewBase

파일 보기 프로젝트 열기: segphault/Razordex

공개 메소드들

메소드 설명
Execute ( ) : void

Executes the template, writing output to the Write and WriteLiteral methods.

Not intended to be called directly. Call the Generate method instead.

Generate ( System writer ) : void

Executes the template, writing to the provided text writer.

GenerateString ( ) : string

Executes the template and returns the output as a string.

보호된 메소드들

메소드 설명
Write ( Action write ) : void

Invokes the action to write directly to the template output.

This is used for Razor helpers, which already perform any necessary HTML escaping.

Write ( object value ) : void

Writes values to the template output, HTML escaping them if necessary.

WriteLiteral ( string value ) : void

Writes literal values to the template output without HTML escaping them.

WriteTo ( System writer, object value ) : void Used by Razor helpers to HTML escape values.

메소드 상세

Execute() 공개 추상적인 메소드

Executes the template, writing output to the Write and WriteLiteral methods.
Not intended to be called directly. Call the Generate method instead.
public abstract Execute ( ) : void
리턴 void

Generate() 공개 메소드

Executes the template, writing to the provided text writer.
public Generate ( System writer ) : void
writer System
리턴 void

GenerateString() 공개 메소드

Executes the template and returns the output as a string.
public GenerateString ( ) : string
리턴 string

Write() 보호된 메소드

Invokes the action to write directly to the template output.
This is used for Razor helpers, which already perform any necessary HTML escaping.
protected Write ( Action write ) : void
write Action
리턴 void

Write() 보호된 메소드

Writes values to the template output, HTML escaping them if necessary.
protected Write ( object value ) : void
value object
리턴 void

WriteLiteral() 보호된 메소드

Writes literal values to the template output without HTML escaping them.
protected WriteLiteral ( string value ) : void
value string
리턴 void

WriteTo() 보호된 정적인 메소드

Used by Razor helpers to HTML escape values.
protected static WriteTo ( System writer, object value ) : void
writer System
value object
리턴 void