C# Class SharpTAL.Template

Inheritance: ITemplate
Afficher le fichier Open project: lck/SharpTAL

Méthodes publiques

Méthode Description
Compile ( ) : void
Render ( object>.Dictionary globals ) : string
Render ( StreamWriter outputWriter, object>.Dictionary globals ) : void
Template ( string body ) : System
Template ( string body, Type>.Dictionary globalsTypes ) : System
Template ( string body, Type>.Dictionary globalsTypes, List referencedAssemblies ) : System
Template ( string body, List referencedAssemblies ) : System

Méthodes protégées

Méthode Description
FormatResult ( object result ) : string
IsFalseResult ( object obj ) : bool

Private Methods

Méthode Description
CompileCheck ( object>.Dictionary globals ) : void
Recompile ( object>.Dictionary globals ) : void

Method Details

Compile() public méthode

public Compile ( ) : void
Résultat void

FormatResult() protected méthode

protected FormatResult ( object result ) : string
result object
Résultat string

IsFalseResult() protected méthode

protected IsFalseResult ( object obj ) : bool
obj object
Résultat bool

Render() public méthode

public Render ( object>.Dictionary globals ) : string
globals object>.Dictionary
Résultat string

Render() public méthode

public Render ( StreamWriter outputWriter, object>.Dictionary globals ) : void
outputWriter System.IO.StreamWriter
globals object>.Dictionary
Résultat void

Template() public méthode

public Template ( string body ) : System
body string
Résultat System

Template() public méthode

public Template ( string body, Type>.Dictionary globalsTypes ) : System
body string
globalsTypes Type>.Dictionary
Résultat System

Template() public méthode

public Template ( string body, Type>.Dictionary globalsTypes, List referencedAssemblies ) : System
body string
globalsTypes Type>.Dictionary
referencedAssemblies List
Résultat System

Template() public méthode

public Template ( string body, List referencedAssemblies ) : System
body string
referencedAssemblies List
Résultat System