|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||
Manages VMs in namespaces. Currently, two namespace modes are supported: * flat - all allowable VMs are in the global namespacelocal - inline VMs are added to it's own template namespace * Thanks to Jose Alberto Fernandez for some ideas incorporated here. *
| Property Summary | |
|---|---|
| bool | NamespaceUsage |
| bool | RegisterFromLib |
| bool | TemplateLocalInlineVM |
| Method Summary | |
|---|---|
| bool |
addVM(string vmName, string macroBody, string[] argArray, string namespace_Renamed) Adds a VM definition to the cache. |
| bool |
dumpNamespace(string namespace_Renamed) Removes the VMs and the namespace from the manager. Used when a template is reloaded to avoid accumulating drek * |
| NVelocity.Runtime.Directive.VelocimacroProxy |
get(string vmName, string namespace_Renamed) gets a new living VelocimacroProxy object by the name / source template duple |
| string | getLibraryName(string vmName, string namespace_Renamed) |
| Methods inherited from class System.Object |
|---|
| Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
| Property Detail |
|---|
public bool NamespaceUsage
public bool RegisterFromLib
public bool TemplateLocalInlineVM
| Method Detail |
|---|
public bool addVM(string vmName,
string macroBody,
string[] argArray,
string namespace_Renamed)
Adds a VM definition to the cache.
Returns:
public bool dumpNamespace(string namespace_Renamed)
Removes the VMs and the namespace from the manager. Used when a template is reloaded to avoid accumulating drek *
Parameters:
namespace - namespace to dump
public NVelocity.Runtime.Directive.VelocimacroProxy get(string vmName,
string namespace_Renamed)
gets a new living VelocimacroProxy object by the name / source template duple
public string getLibraryName(string vmName,
string namespace_Renamed)
|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||