C# 클래스 SharpTAL.TemplateInfo

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

공개 프로퍼티들

프로퍼티 타입 설명
GeneratedSourceCode string
GeneratorVersion string
GlobalsTypes Type>.Dictionary
ImportedNamespaces HashSet>.Dictionary
ImportedPrograms Program>.Dictionary
MainProgram Program
ReferencedAssemblies List
RenderMethod System.Reflection.MethodInfo
TemplateBody string
TemplateKey string

프로퍼티 상세

GeneratedSourceCode 공개적으로 프로퍼티

Contains the C# source code used to compile the assembly.
public string GeneratedSourceCode
리턴 string

GeneratorVersion 공개적으로 프로퍼티

Template generator version.
public string GeneratorVersion
리턴 string

GlobalsTypes 공개적으로 프로퍼티

Types of global objects The key contains the object name. The value contains the object type.
public Dictionary GlobalsTypes
리턴 Type>.Dictionary

ImportedNamespaces 공개적으로 프로퍼티

Dictionary of paths to imported programs hashed by namespace created by "metal:import" command. The key contains the imported program namespace. The value contains the list of full paths to template files.
public Dictionary> ImportedNamespaces
리턴 HashSet>.Dictionary

ImportedPrograms 공개적으로 프로퍼티

Dictionary of TemplatePrograms compiled from templates imported by "metal:import" command. The key contains the full path to the template file. The value contains the compiled program.
public Dictionary ImportedPrograms
리턴 Program>.Dictionary

MainProgram 공개적으로 프로퍼티

Main template program compiled from TemplateBody.
public Program MainProgram
리턴 Program

ReferencedAssemblies 공개적으로 프로퍼티

List of referenced assemblies.
public List ReferencedAssemblies
리턴 List

RenderMethod 공개적으로 프로퍼티

Reference to template render method.
public MethodInfo,System.Reflection RenderMethod
리턴 System.Reflection.MethodInfo

TemplateBody 공개적으로 프로퍼티

Template body.
public string TemplateBody
리턴 string

TemplateKey 공개적으로 프로퍼티

Contains a unique key that represent the template in the template cache. The template key is computed from the following parts: Template body hash Global types hash Imported templates hash Referenced assemblies hash
public string TemplateKey
리턴 string