C# 클래스 SharpTAL.TemplateCache.FileSystemTemplateCache

상속: AbstractTemplateCache
파일 보기 프로젝트 열기: lck/SharpTAL 1 사용 예제들

공개 메소드들

메소드 설명
CompileTemplate ( string templateBody, Type>.Dictionary globalsTypes, List referencedAssemblies ) : TemplateInfo
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

비공개 메소드들

메소드 설명
InitCache ( bool clearCache ) : void
LoadTemplatesInfo ( string cacheFolder ) : TemplateInfo>.Dictionary

메소드 상세

CompileTemplate() 공개 메소드

public CompileTemplate ( string templateBody, Type>.Dictionary globalsTypes, List referencedAssemblies ) : TemplateInfo
templateBody string
globalsTypes Type>.Dictionary
referencedAssemblies List
리턴 TemplateInfo

FileSystemTemplateCache() 공개 메소드

Initialize the filesystem template cache
public FileSystemTemplateCache ( string cacheFolder ) : System
cacheFolder string Folder where cache will write and read generated assemblies
리턴 System

FileSystemTemplateCache() 공개 메소드

Initialize the filesystem template cache
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
리턴 System

FileSystemTemplateCache() 공개 메소드

Initialize the filesystem template cache
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 from cache folder
pattern string /// File name regular expression pattern. /// Default pattern is "Template_{key}.dll". /// Macro {key} will be replaced with computed hash key." ///
리턴 System