Method | Description | |
---|---|---|
CompileTemplate ( string templateBody, Type>.Dictionary |
||
FileSystemTemplateCache ( string cacheFolder ) : System |
Initialize the filesystem template cache
|
|
FileSystemTemplateCache ( string cacheFolder, bool clearCache ) : System |
Initialize the filesystem template cache
|
|
FileSystemTemplateCache ( string cacheFolder, bool clearCache, string pattern ) : System |
Initialize the filesystem template cache
|
Method | Description | |
---|---|---|
InitCache ( bool clearCache ) : void | ||
LoadTemplatesInfo ( string cacheFolder ) : TemplateInfo>.Dictionary |
public CompileTemplate ( string templateBody, Type>.Dictionary |
||
templateBody | string | |
globalsTypes | Type>.Dictionary | |
referencedAssemblies | List |
|
return | TemplateInfo |
public FileSystemTemplateCache ( string cacheFolder ) : System | ||
cacheFolder | string | Folder where cache will write and read generated assemblies |
return | System |
public FileSystemTemplateCache ( string cacheFolder, bool clearCache ) : System | ||
cacheFolder | string | Folder where cache will write and read generated assemblies |
clearCache | bool | If it's true, clear all files matching the default pattern from cache folder |
return | System |
public FileSystemTemplateCache ( string cacheFolder, bool clearCache, string pattern ) : System | ||
cacheFolder | string | Folder where cache will write and read generated assemblies |
clearCache | bool | If it's true, clear all files matching the |
pattern | string | /// File name regular expression pattern. /// Default pattern is "Template_{key}.dll". /// Macro {key} will be replaced with computed hash key." /// |
return | System |