Megadocs 0.0.1
All of megapop's internal libraries
Megapop.MegaCore.ReflectionUtil Class Reference

Static Public Member Functions

static IEnumerable< Type > GetTypesWithAttribute< T > (Assembly assembly)
 
static object GetMemberValue (object container, string memberName, out Type memberType)
 
static object GetMemberValue (object container, string memberName)
 
static object GetMemberValue (object container, string memberName, int index)
 
static void SetMemberValue (object container, string memberName, object value)
 

Properties

static IEnumerable< Assembly > AllAssemblies [get]
 
static IEnumerable< Type > AllTypes [get]
 

Member Function Documentation

◆ GetMemberValue() [1/3]

static object Megapop.MegaCore.ReflectionUtil.GetMemberValue ( object  container,
string  memberName 
)
inlinestatic

◆ GetMemberValue() [2/3]

static object Megapop.MegaCore.ReflectionUtil.GetMemberValue ( object  container,
string  memberName,
int  index 
)
inlinestatic

◆ GetMemberValue() [3/3]

static object Megapop.MegaCore.ReflectionUtil.GetMemberValue ( object  container,
string  memberName,
out Type  memberType 
)
inlinestatic

◆ GetTypesWithAttribute< T >()

static IEnumerable< Type > Megapop.MegaCore.ReflectionUtil.GetTypesWithAttribute< T > ( Assembly  assembly)
inlinestatic
Type Constraints
T :Attribute 

◆ SetMemberValue()

static void Megapop.MegaCore.ReflectionUtil.SetMemberValue ( object  container,
string  memberName,
object  value 
)
inlinestatic

Property Documentation

◆ AllAssemblies

IEnumerable<Assembly> Megapop.MegaCore.ReflectionUtil.AllAssemblies
staticget

◆ AllTypes

IEnumerable<Type> Megapop.MegaCore.ReflectionUtil.AllTypes
staticget

The documentation for this class was generated from the following file: