Table of Contents

Class ReflectionUtility

Namespace
HomaGames.HomaBelly
Assembly
HomaGames.HomaBelly.Core.dll
[Obsolete("This class is obsolete and will be removed in a future version. Use Homa.Sdk.Foundation.ReflectionUtility instead.", true)]
public static class ReflectionUtility
Inheritance
ReflectionUtility
Inherited Members

Methods

CreateInstance(string, params object[])

public static object CreateInstance(string typeFullName, params object[] args)

Parameters

typeFullName string
args object[]

Returns

object

CreateInstance(Type, params object[])

public static object CreateInstance(Type type, params object[] args)

Parameters

type Type
args object[]

Returns

object

CreateInstance<T>(params object[])

public static T CreateInstance<T>(params object[] args)

Parameters

args object[]

Returns

T

Type Parameters

T

GetImplementingTypes(Type, TypeFilters)

public static IEnumerable<Type> GetImplementingTypes(Type baseType, TypeFilters typeFilters = TypeFilters.None)

Parameters

baseType Type
typeFilters TypeFilters

Returns

IEnumerable<Type>

GetType(string)

public static Type GetType(string fullName)

Parameters

fullName string

Returns

Type

GetValues<T>()

public static IEnumerable<T> GetValues<T>() where T : Enum

Returns

IEnumerable<T>

Type Parameters

T

InheritsOrImplements(Type, Type)

public static bool InheritsOrImplements(Type checkedType, Type baseType)

Parameters

checkedType Type
baseType Type

Returns

bool