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
type
Type
Returns
GetInterfaceMethodIfPossible(MethodInfo)
public static MethodInfo GetInterfaceMethodIfPossible(MethodInfo method)
Parameters
method
MethodInfo
Returns
GetParameterAttributes(MethodInfo)
public static object[][] GetParameterAttributes(MethodInfo method)
Parameters
method
MethodInfo
Returns
- object[][]
GetParameterTypes(MethodBase)
public static Type[] GetParameterTypes(MethodBase method)
Parameters
method
MethodBase
Returns
- Type[]
GetQualifiedMethodName(MethodInfo)
public static string GetQualifiedMethodName(MethodInfo method)
Parameters
method
MethodInfo
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)