C# 클래스 Zetbox.Generator.AbstractBaseGenerator

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

공개 메소드들

메소드 설명
Generate ( Zetbox ctx, string basePath, Compiler compiler ) : void

보호된 메소드들

메소드 설명
AbstractBaseGenerator ( IEnumerable schemaProviders ) : System
DeleteOldFiles ( ) : void
Generate_AssemblyInfo ( IZetboxContext ctx ) : string
Generate_CollectionEntries ( IZetboxContext ctx ) : string
Generate_CompoundObject ( IZetboxContext ctx, CompoundObject s ) : string
Generate_Enumeration ( IZetboxContext ctx, Enumeration e ) : string
Generate_Interface ( IZetboxContext ctx, Interface i ) : string
Generate_ObjectClass ( IZetboxContext ctx, ObjectClass objClass ) : string
Generate_Objects ( Zetbox ctx ) : List
Generate_Other ( IZetboxContext ctx ) : IEnumerable
Generate_ProjectFile ( IZetboxContext ctx, string projectGuid, List generatedFileNames, IEnumerable schemaProviders ) : string
InitCodeBasePath ( string basePath ) : void
RunTemplate ( IZetboxContext ctx, string templateName, string filename ) : string
RunTemplateWithExtension ( IZetboxContext ctx, string templateName, string targetFolder, string baseFilename, string extension ) : string
SaveKeyFile ( ) : void
Unidecode ( string filename ) : string

converts the string to ascii using transliteration. uses the _transliterationTable and a nice hack to reduce utf-8 to ASCII. probably works only with western characters.

See http://stackoverflow.com/questions/2173825/slugify-and-character-transliteration-in-c/2173922#2173922

메소드 상세

AbstractBaseGenerator() 보호된 메소드

protected AbstractBaseGenerator ( IEnumerable schemaProviders ) : System
schemaProviders IEnumerable
리턴 System

DeleteOldFiles() 보호된 메소드

protected DeleteOldFiles ( ) : void
리턴 void

Generate() 공개 메소드

public Generate ( Zetbox ctx, string basePath, Compiler compiler ) : void
ctx Zetbox
basePath string
compiler Compiler
리턴 void

Generate_AssemblyInfo() 보호된 메소드

protected Generate_AssemblyInfo ( IZetboxContext ctx ) : string
ctx IZetboxContext
리턴 string

Generate_CollectionEntries() 보호된 메소드

protected Generate_CollectionEntries ( IZetboxContext ctx ) : string
ctx IZetboxContext
리턴 string

Generate_CompoundObject() 보호된 메소드

protected Generate_CompoundObject ( IZetboxContext ctx, CompoundObject s ) : string
ctx IZetboxContext
s CompoundObject
리턴 string

Generate_Enumeration() 보호된 메소드

protected Generate_Enumeration ( IZetboxContext ctx, Enumeration e ) : string
ctx IZetboxContext
e Enumeration
리턴 string

Generate_Interface() 보호된 메소드

protected Generate_Interface ( IZetboxContext ctx, Interface i ) : string
ctx IZetboxContext
i Interface
리턴 string

Generate_ObjectClass() 보호된 메소드

protected Generate_ObjectClass ( IZetboxContext ctx, ObjectClass objClass ) : string
ctx IZetboxContext
objClass ObjectClass
리턴 string

Generate_Objects() 보호된 메소드

protected Generate_Objects ( Zetbox ctx ) : List
ctx Zetbox
리턴 List

Generate_Other() 보호된 메소드

protected Generate_Other ( IZetboxContext ctx ) : IEnumerable
ctx IZetboxContext
리턴 IEnumerable

Generate_ProjectFile() 보호된 메소드

protected Generate_ProjectFile ( IZetboxContext ctx, string projectGuid, List generatedFileNames, IEnumerable schemaProviders ) : string
ctx IZetboxContext
projectGuid string
generatedFileNames List
schemaProviders IEnumerable
리턴 string

InitCodeBasePath() 보호된 메소드

protected InitCodeBasePath ( string basePath ) : void
basePath string
리턴 void

RunTemplate() 보호된 메소드

protected RunTemplate ( IZetboxContext ctx, string templateName, string filename ) : string
ctx IZetboxContext
templateName string
filename string
리턴 string

RunTemplateWithExtension() 보호된 메소드

protected RunTemplateWithExtension ( IZetboxContext ctx, string templateName, string targetFolder, string baseFilename, string extension ) : string
ctx IZetboxContext
templateName string
targetFolder string
baseFilename string
extension string
리턴 string

SaveKeyFile() 보호된 메소드

protected SaveKeyFile ( ) : void
리턴 void

Unidecode() 보호된 정적인 메소드

converts the string to ascii using transliteration. uses the _transliterationTable and a nice hack to reduce utf-8 to ASCII. probably works only with western characters.
See http://stackoverflow.com/questions/2173825/slugify-and-character-transliteration-in-c/2173922#2173922
protected static Unidecode ( string filename ) : string
filename string
리턴 string