C# Class System.ReflectionLibrary

Show file Open project: herohiralal/HiraTools

Public Methods

Method Description
Get ( Type type, string info, object &data ) : bool
Get ( object o, string info, object &data ) : bool
Get ( Type type, string info, &data ) : bool
Get ( object o, string info, &data ) : bool
GetAttributeData ( IReadOnlyList members ) : TAttribute[]
GetHierarchy ( Type target, bool allowAbstract = true, bool includeSelf = true ) : IEnumerable
GetReflectionName ( Type type ) : string
GetSubclasses ( Type type, bool allowAbstract = false, bool allowSelf = true ) : IEnumerable
GetSuperClasses ( Type type, bool allowAbstract = false, bool allowSelf = true ) : IEnumerable
GetTypesWithThisAttribute ( Type attribute, bool allowAbstract = false ) : IEnumerable
Set ( Type type, string info, object data ) : bool
Set ( object o, string info, object data ) : bool
Set ( Type type, string info, data ) : bool
Set ( object o, string info, data ) : bool

Private Methods

Method Description
GetTypeArray ( Array parameters ) : System.Type[]

Method Details

Get() public static method

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

Get() public static method

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

Get() public static method

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

Get() public static method

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

GetAttributeData() public static method

public static GetAttributeData ( IReadOnlyList members ) : TAttribute[]
members IReadOnlyList
return TAttribute[]

GetHierarchy() public static method

public static GetHierarchy ( Type target, bool allowAbstract = true, bool includeSelf = true ) : IEnumerable
target Type
allowAbstract bool
includeSelf bool
return IEnumerable

GetReflectionName() public static method

public static GetReflectionName ( Type type ) : string
type Type
return string

GetSubclasses() public static method

public static GetSubclasses ( Type type, bool allowAbstract = false, bool allowSelf = true ) : IEnumerable
type Type
allowAbstract bool
allowSelf bool
return IEnumerable

GetSuperClasses() public static method

public static GetSuperClasses ( Type type, bool allowAbstract = false, bool allowSelf = true ) : IEnumerable
type Type
allowAbstract bool
allowSelf bool
return IEnumerable

GetTypesWithThisAttribute() public static method

public static GetTypesWithThisAttribute ( Type attribute, bool allowAbstract = false ) : IEnumerable
attribute Type
allowAbstract bool
return IEnumerable

Set() public static method

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

Set() public static method

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

Set() public static method

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

Set() public static method

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