Class ClassUtils
public static class ClassUtils
- Inheritance
-
ClassUtils
- Inherited Members
Methods
DetermineCommonAncestor(Type, Type)
public static Type DetermineCommonAncestor(Type clazz1, Type clazz2)
Parameters
Returns
GetGenericTypeDefinition(Type)
public static Type GetGenericTypeDefinition(Type type)
Parameters
typeType
Returns
GetInterfaceMethodIfPossible(MethodInfo)
public static MethodInfo GetInterfaceMethodIfPossible(MethodInfo method)
Parameters
methodMethodInfo
Returns
GetParameterAttributes(MethodInfo)
public static object[][] GetParameterAttributes(MethodInfo method)
Parameters
methodMethodInfo
Returns
- object[][]
GetParameterTypes(MethodBase)
public static Type[] GetParameterTypes(MethodBase method)
Parameters
methodMethodBase
Returns
- Type[]
GetQualifiedMethodName(MethodInfo)
public static string GetQualifiedMethodName(MethodInfo method)
Parameters
methodMethodInfo
Returns
IsAssignable(Type, Type)
public static bool IsAssignable(Type lhsType, Type rhsType)
Parameters
Returns
IsAssignableValue(Type, object)
public static bool IsAssignableValue(Type type, object value)