C# Class System.FieldReflectionLibrary

Show file Open project: herohiralal/HiraTools

Public Methods

Method Description
GetData ( Type type, string info, object &data ) : bool
GetData ( object o, string info, object &data ) : bool
GetData ( Type type, string info, &data ) : bool
GetData ( object o, string info, &data ) : bool
GetFieldsWithAttribute ( Type type ) : IEnumerable
GetFieldsWithAttribute ( object o ) : IEnumerable
SetData ( Type type, string info, object data ) : bool
SetData ( object o, string info, object data ) : bool
SetData ( Type type, string info, data ) : bool
SetData ( object o, string info, data ) : bool

Private Methods

Method Description
GetFieldsWithAttribute ( IReflect t, BindingFlags flags ) : IEnumerable

Method Details

GetData() public static method

public static GetData ( Type type, string info, object &data ) : bool
type Type
info string
data object
return bool

GetData() public static method

public static GetData ( object o, string info, object &data ) : bool
o object
info string
data object
return bool

GetData() public static method

public static GetData ( Type type, string info, &data ) : bool
type Type
info string
return bool

GetData() public static method

public static GetData ( object o, string info, &data ) : bool
o object
info string
return bool

GetFieldsWithAttribute() public static method

public static GetFieldsWithAttribute ( Type type ) : IEnumerable
type Type
return IEnumerable

GetFieldsWithAttribute() public static method

public static GetFieldsWithAttribute ( object o ) : IEnumerable
o object
return IEnumerable

SetData() public static method

public static SetData ( Type type, string info, object data ) : bool
type Type
info string
data object
return bool

SetData() public static method

public static SetData ( object o, string info, object data ) : bool
o object
info string
data object
return bool

SetData() public static method

public static SetData ( Type type, string info, data ) : bool
type Type
info string
return bool

SetData() public static method

public static SetData ( object o, string info, data ) : bool
o object
info string
return bool