C# Class Jade.JadeConfiguration

Datei anzeigen Open project: rnrn/Jade4Net

Protected Properties

Property Type Description
MAX_ENTRIES int

Public Methods

Method Description
JadeConfiguration ( ) : System
clearCache ( ) : void
getMode ( ) : Jade4Net.Mode
getSharedVariables ( ) : Object>.Dictionary
getTemplate ( String name ) : JadeTemplate
getTemplateLoader ( ) : TemplateLoader
isCaching ( ) : bool
isPrettyPrint ( ) : bool
removeFilter ( String name ) : void
renderTemplate ( JadeTemplate template, Object>.Dictionary model ) : String
renderTemplate ( JadeTemplate template, Object>.Dictionary model, TextWriter writer ) : void
setCaching ( bool cache ) : void
setFilter ( String name, Filter filter ) : void
setMode ( Jade4Net mode ) : void
setPrettyPrint ( bool prettyPrint ) : void
setSharedVariables ( Object>.Dictionary sharedVariables ) : void
setTemplateLoader ( TemplateLoader templateLoader ) : void
templateExists ( String url ) : bool

Private Methods

Method Description
createTemplate ( String name ) : JadeTemplate

Method Details

JadeConfiguration() public method

public JadeConfiguration ( ) : System
return System

clearCache() public method

public clearCache ( ) : void
return void

getMode() public method

public getMode ( ) : Jade4Net.Mode
return Jade4Net.Mode

getSharedVariables() public method

public getSharedVariables ( ) : Object>.Dictionary
return Object>.Dictionary

getTemplate() public method

public getTemplate ( String name ) : JadeTemplate
name String
return JadeTemplate

getTemplateLoader() public method

public getTemplateLoader ( ) : TemplateLoader
return TemplateLoader

isCaching() public method

public isCaching ( ) : bool
return bool

isPrettyPrint() public method

public isPrettyPrint ( ) : bool
return bool

removeFilter() public method

public removeFilter ( String name ) : void
name String
return void

renderTemplate() public method

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

renderTemplate() public method

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

setCaching() public method

public setCaching ( bool cache ) : void
cache bool
return void

setFilter() public method

public setFilter ( String name, Filter filter ) : void
name String
filter Filter
return void

setMode() public method

public setMode ( Jade4Net mode ) : void
mode Jade4Net
return void

setPrettyPrint() public method

public setPrettyPrint ( bool prettyPrint ) : void
prettyPrint bool
return void

setSharedVariables() public method

public setSharedVariables ( Object>.Dictionary sharedVariables ) : void
sharedVariables Object>.Dictionary
return void

setTemplateLoader() public method

public setTemplateLoader ( TemplateLoader templateLoader ) : void
templateLoader TemplateLoader
return void

templateExists() public method

public templateExists ( String url ) : bool
url String
return bool

Property Details

MAX_ENTRIES protected_oe static_oe property

protected static int MAX_ENTRIES
return int