C# Class AssemblyCSharp.DefinitionsActivator

Exibir arquivo Open project: wooga/ps_social_jam

Public Methods

Method Description
GetArrayLength ( FieldInfo fieldInfo ) : int
GetFields ( Type type, string columns ) : System.Reflection.FieldInfo[]
SetArrayValue ( Array instance, FieldInfo field, string val, int index ) : void
SetField ( object instance, FieldInfo field, string val ) : void

Private Methods

Method Description
ConverterArraySetter ( Type elementType ) : System.Action
ConverterSetter ( FieldInfo fieldInfo ) : System.Action
FindLengthOfArray ( string fieldName, string columns ) : int
IntArraySetter ( Array instance, string val, int index ) : void
IntSetter ( object instance, FieldInfo field, string val ) : void
StringArraySetter ( Array instance, string val, int index ) : void
StringSetter ( object instance, FieldInfo field, string val ) : void

Method Details

GetArrayLength() public static method

public static GetArrayLength ( FieldInfo fieldInfo ) : int
fieldInfo System.Reflection.FieldInfo
return int

GetFields() public static method

public static GetFields ( Type type, string columns ) : System.Reflection.FieldInfo[]
type System.Type
columns string
return System.Reflection.FieldInfo[]

SetArrayValue() public static method

public static SetArrayValue ( Array instance, FieldInfo field, string val, int index ) : void
instance System.Array
field System.Reflection.FieldInfo
val string
index int
return void

SetField() public static method

public static SetField ( object instance, FieldInfo field, string val ) : void
instance object
field System.Reflection.FieldInfo
val string
return void