C# Class SharpTAL.Template

Inheritance: ITemplate
ファイルを表示 Open project: lck/SharpTAL

Public Methods

Method 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

Protected Methods

Method Description
FormatResult ( object result ) : string
IsFalseResult ( object obj ) : bool

Private Methods

Method Description
CompileCheck ( object>.Dictionary globals ) : void
Recompile ( object>.Dictionary globals ) : void

Method Details

Compile() public method

public Compile ( ) : void
return void

FormatResult() protected method

protected FormatResult ( object result ) : string
result object
return string

IsFalseResult() protected method

protected IsFalseResult ( object obj ) : bool
obj object
return bool

Render() public method

public Render ( object>.Dictionary globals ) : string
globals object>.Dictionary
return string

Render() public method

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

Template() public method

public Template ( string body ) : System
body string
return System

Template() public method

public Template ( string body, Type>.Dictionary globalsTypes ) : System
body string
globalsTypes Type>.Dictionary
return System

Template() public method

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

Template() public method

public Template ( string body, List referencedAssemblies ) : System
body string
referencedAssemblies List
return System