C# Class Jade.Jade4Net

Mostrar archivo Open project: rnrn/Jade4Net Class Usage Examples

Public Methods

Method Description
getTemplate ( String filename ) : JadeTemplate
render ( JadeTemplate template, Object>.Dictionary model ) : String
render ( JadeTemplate template, Object>.Dictionary model, bool pretty ) : String
render ( String filename, Object>.Dictionary model ) : String
render ( String filename, Object>.Dictionary model, bool pretty ) : String
render ( TextReader reader, String filename, Object>.Dictionary model ) : String
render ( TextReader reader, String filename, Object>.Dictionary model, bool pretty ) : String
render ( Uri url, Object>.Dictionary model ) : String
render ( Uri url, Object>.Dictionary model, bool pretty ) : String
render ( JadeTemplate template, Object>.Dictionary model, TextWriter writer ) : void
render ( JadeTemplate template, Object>.Dictionary model, TextWriter writer, bool pretty ) : void
render ( String filename, Object>.Dictionary model, TextWriter writer ) : void
render ( String filename, Object>.Dictionary model, TextWriter writer, bool pretty ) : void

Private Methods

Method Description
createTemplate ( String filename, TemplateLoader loader ) : JadeTemplate
getTemplate ( TextReader reader, String name ) : JadeTemplate
templateToString ( JadeTemplate template, Object>.Dictionary model ) : String

Method Details

getTemplate() public static method

public static getTemplate ( String filename ) : JadeTemplate
filename String
return JadeTemplate

render() public static method

public static render ( JadeTemplate template, Object>.Dictionary model ) : String
template JadeTemplate
model Object>.Dictionary
return String

render() public static method

public static render ( JadeTemplate template, Object>.Dictionary model, bool pretty ) : String
template JadeTemplate
model Object>.Dictionary
pretty bool
return String

render() public static method

public static render ( String filename, Object>.Dictionary model ) : String
filename String
model Object>.Dictionary
return String

render() public static method

public static render ( String filename, Object>.Dictionary model, bool pretty ) : String
filename String
model Object>.Dictionary
pretty bool
return String

render() public static method

public static render ( TextReader reader, String filename, Object>.Dictionary model ) : String
reader System.IO.TextReader
filename String
model Object>.Dictionary
return String

render() public static method

public static render ( TextReader reader, String filename, Object>.Dictionary model, bool pretty ) : String
reader System.IO.TextReader
filename String
model Object>.Dictionary
pretty bool
return String

render() public static method

public static render ( Uri url, Object>.Dictionary model ) : String
url System.Uri
model Object>.Dictionary
return String

render() public static method

public static render ( Uri url, Object>.Dictionary model, bool pretty ) : String
url System.Uri
model Object>.Dictionary
pretty bool
return String

render() public static method

public static render ( JadeTemplate template, Object>.Dictionary model, TextWriter writer ) : void
template JadeTemplate
model Object>.Dictionary
writer System.IO.TextWriter
return void

render() public static method

public static render ( JadeTemplate template, Object>.Dictionary model, TextWriter writer, bool pretty ) : void
template JadeTemplate
model Object>.Dictionary
writer System.IO.TextWriter
pretty bool
return void

render() public static method

public static render ( String filename, Object>.Dictionary model, TextWriter writer ) : void
filename String
model Object>.Dictionary
writer System.IO.TextWriter
return void

render() public static method

public static render ( String filename, Object>.Dictionary model, TextWriter writer, bool pretty ) : void
filename String
model Object>.Dictionary
writer System.IO.TextWriter
pretty bool
return void