C# Class Entitas.CodeGenerator.ComponentExtensionsGenerator

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

Public Methods

Method Description
Generate ( ComponentInfo componentInfos ) : Entitas.CodeGenerator.CodeGenFile[]

Private Methods

Method Description
addAddMethods ( ComponentInfo componentInfo ) : string
addCloseClass ( ) : string
addContextAddMethods ( ComponentInfo componentInfo ) : object
addContextClassHeader ( ) : string
addContextGetMethods ( ComponentInfo componentInfo ) : string
addContextHasMethods ( ComponentInfo componentInfo ) : string
addContextMethods ( ComponentInfo componentInfo ) : string
addContextRemoveMethods ( ComponentInfo componentInfo ) : string
addContextReplaceMethods ( ComponentInfo componentInfo ) : string
addEntityClassHeader ( ) : string
addEntityMethods ( ComponentInfo componentInfo ) : string
addGetMethods ( ComponentInfo componentInfo ) : string
addHasMethods ( ComponentInfo componentInfo ) : string
addMatcher ( ComponentInfo componentInfo, bool onlyDefault = false ) : string
addNamespace ( ) : string
addRemoveMethods ( ComponentInfo componentInfo ) : string
addReplaceMethods ( ComponentInfo componentInfo ) : string
addUsings ( ) : string
buildString ( ComponentInfo componentInfo, string format, int contextIndex ) : string
closeNamespace ( ) : string
createFormatString ( string format ) : string
generateComponent ( ComponentInfo componentInfo ) : string
generateComponentExtension ( ComponentInfo componentInfo ) : string
memberAssignments ( List memberInfos ) : string
memberNames ( List memberInfos ) : string
memberNamesWithType ( List memberInfos ) : string

Method Details

Generate() public method

public Generate ( ComponentInfo componentInfos ) : Entitas.CodeGenerator.CodeGenFile[]
componentInfos ComponentInfo
return Entitas.CodeGenerator.CodeGenFile[]