C# Class Razordex.PokemonHTMLViewBase

Afficher le fichier Open project: segphault/Razordex

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Method Details

Execute() public abstract méthode

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

Generate() public méthode

Executes the template, writing to the provided text writer.
public Generate ( System writer ) : void
writer System
Résultat void

GenerateString() public méthode

Executes the template and returns the output as a string.
public GenerateString ( ) : string
Résultat string

Write() protected méthode

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

Write() protected méthode

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

WriteLiteral() protected méthode

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

WriteTo() protected static méthode

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