C# Class Entitas.CodeGenerator.CodeGenerator

Show file Open project: sschmid/Entitas-CSharp Class Usage Examples

Public Methods

Method Description
CleanDir ( string directory ) : void
Generate ( ICodeGeneratorDataProvider provider, string directory, ICodeGenerator codeGenerators ) : Entitas.CodeGenerator.CodeGenFile[]
GetSafeDir ( string directory ) : string

Private Methods

Method Description
writeFiles ( string directory, CodeGenFile files ) : void

Method Details

CleanDir() public static method

public static CleanDir ( string directory ) : void
directory string
return void

Generate() public static method

public static Generate ( ICodeGeneratorDataProvider provider, string directory, ICodeGenerator codeGenerators ) : Entitas.CodeGenerator.CodeGenFile[]
provider ICodeGeneratorDataProvider
directory string
codeGenerators ICodeGenerator
return Entitas.CodeGenerator.CodeGenFile[]

GetSafeDir() public static method

public static GetSafeDir ( string directory ) : string
directory string
return string