C# Class SdkGenerator.EnumCreator

Datei anzeigen Open project: uShip/SdkGenerator

Public Methods

Method Description
AddEnumMembersFromType ( Type enumType ) : EnumCreator
EnumCreator ( string nameSpace ) : System
GenerateCSharpCode ( string fileName ) : void
SetClassName ( string className, bool useTypeT ) : EnumCreator

Private Methods

Method Description
AddMember ( string memberName, object value ) : void

Method Details

AddEnumMembersFromType() public method

public AddEnumMembersFromType ( Type enumType ) : EnumCreator
enumType System.Type
return EnumCreator

EnumCreator() public method

public EnumCreator ( string nameSpace ) : System
nameSpace string
return System

GenerateCSharpCode() public method

public GenerateCSharpCode ( string fileName ) : void
fileName string
return void

SetClassName() public method

public SetClassName ( string className, bool useTypeT ) : EnumCreator
className string
useTypeT bool
return EnumCreator