메소드 | 설명 | |
---|---|---|
Generate ( Zetbox ctx, string basePath, |
메소드 | 설명 | |
---|---|---|
AbstractBaseGenerator ( IEnumerable |
||
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 |
||
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 |
protected AbstractBaseGenerator ( IEnumerable |
||
schemaProviders | IEnumerable |
|
리턴 | System |
public Generate ( Zetbox ctx, string basePath, |
||
ctx | Zetbox | |
basePath | string | |
compiler | ||
리턴 | void |
protected Generate_AssemblyInfo ( IZetboxContext ctx ) : string | ||
ctx | IZetboxContext | |
리턴 | string |
protected Generate_CollectionEntries ( IZetboxContext ctx ) : string | ||
ctx | IZetboxContext | |
리턴 | string |
protected Generate_CompoundObject ( IZetboxContext ctx, CompoundObject s ) : string | ||
ctx | IZetboxContext | |
s | CompoundObject | |
리턴 | string |
protected Generate_Enumeration ( IZetboxContext ctx, Enumeration e ) : string | ||
ctx | IZetboxContext | |
e | Enumeration | |
리턴 | string |
protected Generate_Interface ( IZetboxContext ctx, Interface i ) : string | ||
ctx | IZetboxContext | |
i | Interface | |
리턴 | string |
protected Generate_ObjectClass ( IZetboxContext ctx, ObjectClass objClass ) : string | ||
ctx | IZetboxContext | |
objClass | ObjectClass | |
리턴 | string |
protected Generate_Other ( IZetboxContext ctx ) : IEnumerable |
||
ctx | IZetboxContext | |
리턴 | IEnumerable |
protected Generate_ProjectFile ( IZetboxContext ctx, string projectGuid, List |
||
ctx | IZetboxContext | |
projectGuid | string | |
generatedFileNames | List |
|
schemaProviders | IEnumerable |
|
리턴 | string |
protected InitCodeBasePath ( string basePath ) : void | ||
basePath | string | |
리턴 | void |
protected RunTemplate ( IZetboxContext ctx, string templateName, string filename ) : string | ||
ctx | IZetboxContext | |
templateName | string | |
filename | string | |
리턴 | string |
protected RunTemplateWithExtension ( IZetboxContext ctx, string templateName, string targetFolder, string baseFilename, string extension ) : string | ||
ctx | IZetboxContext | |
templateName | string | |
targetFolder | string | |
baseFilename | string | |
extension | string | |
리턴 | string |
protected static Unidecode ( string filename ) : string | ||
filename | string | |
리턴 | string |