C# Class SettingsCompiler.EnumSetting

Inheritance: Setting
Mostra file Open project: TheRealMJP/Shadows

Public Properties

Property Type Description
EnumType System.Type
EnumTypeName string
NumEnumValues int
Value object

Public Methods

Method Description
EnumSetting ( object value, FieldInfo field, Type enumType, string group ) : System
WriteDeclaration ( List lines ) : void
WriteDefinition ( List lines ) : void
WriteInitialization ( List lines ) : void

Private Methods

Method Description
MakeEnumParameter ( object value ) : string

Method Details

EnumSetting() public method

public EnumSetting ( object value, FieldInfo field, Type enumType, string group ) : System
value object
field System.Reflection.FieldInfo
enumType System.Type
group string
return System

WriteDeclaration() public method

public WriteDeclaration ( List lines ) : void
lines List
return void

WriteDefinition() public method

public WriteDefinition ( List lines ) : void
lines List
return void

WriteInitialization() public method

public WriteInitialization ( List lines ) : void
lines List
return void

Property Details

EnumType public_oe property

public Type,System EnumType
return System.Type

EnumTypeName public_oe property

public string EnumTypeName
return string

NumEnumValues public_oe property

public int NumEnumValues
return int

Value public_oe property

public object Value
return object