Method | Description | |
---|---|---|
AddResourceAssembly ( string assembly ) : void |
Add an assembly to the resource collection.
|
|
BeginInit ( ) : void |
Starts/configure NVelocity based on the properties.
|
|
EndInit ( ) : void | ||
HasTemplate ( String templateName ) : bool |
Returns
|
|
NVelocityTemplateEngine ( ) : System |
Constructs a NVelocityTemplateEngine instance assuming the default values
|
|
NVelocityTemplateEngine ( String templateDir ) : System |
Constructs a NVelocityTemplateEngine instance specifing the template directory
|
|
Process ( IDictionary context, String templateName, |
Process the template with data from the context.
|
|
Process ( IDictionary context, string templateName, |
Process the input template with data from the context.
|
|
Process ( IDictionary context, string templateName, |
Process the input template with data from the context.
|
Method | Description | |
---|---|---|
CreateContext ( IDictionary context ) : IContext | ||
ExpandTemplateDir ( String templateDir ) : String |
public AddResourceAssembly ( string assembly ) : void | ||
assembly | string | |
return | void |
public HasTemplate ( String templateName ) : bool | ||
templateName | String | |
return | bool |
public NVelocityTemplateEngine ( String templateDir ) : System | ||
templateDir | String | |
return | System |
public Process ( IDictionary context, String templateName, |
||
context | IDictionary | |
templateName | String | |
output | ||
return | bool |
public Process ( IDictionary context, string templateName, |
||
context | IDictionary | The context. |
templateName | string | Name of the template. Used only for information during logging |
output | The output. | |
inputTemplate | The input template. | |
return | bool |
public Process ( IDictionary context, string templateName, |
||
context | IDictionary | The context. |
templateName | string | Name of the template. Used only for information during logging |
output | The output. | |
inputTemplate | string | The input template. |
return | bool |