Class ClassUtils
Inheritance
System.Object
ClassUtils
Assembly: Steeltoe.Common.dll
Syntax
public static class ClassUtils : object
Methods
|
Edit this page
View Source
DetermineCommonAncestor(Type, Type)
Declaration
public static Type DetermineCommonAncestor(Type clazz1, Type clazz2)
Parameters
Type |
Name |
Description |
Type |
clazz1 |
|
Type |
clazz2 |
|
Returns
|
Edit this page
View Source
GetGenericTypeDefinition(Type)
Declaration
public static Type GetGenericTypeDefinition(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
|
Edit this page
View Source
GetInterfaceMethodIfPossible(MethodInfo)
Declaration
public static MethodInfo GetInterfaceMethodIfPossible(MethodInfo method)
Parameters
Type |
Name |
Description |
MethodInfo |
method |
|
Returns
Type |
Description |
MethodInfo |
|
|
Edit this page
View Source
GetParameterAttributes(MethodInfo)
Declaration
public static object[][] GetParameterAttributes(MethodInfo method)
Parameters
Type |
Name |
Description |
MethodInfo |
method |
|
Returns
Type |
Description |
System.Object[][] |
|
|
Edit this page
View Source
GetParameterTypes(MethodBase)
Declaration
public static Type[] GetParameterTypes(MethodBase method)
Parameters
Type |
Name |
Description |
MethodBase |
method |
|
Returns
|
Edit this page
View Source
GetQualifiedMethodName(MethodInfo)
Declaration
public static string GetQualifiedMethodName(MethodInfo method)
Parameters
Type |
Name |
Description |
MethodInfo |
method |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
IsAssignable(Type, Type)
Declaration
public static bool IsAssignable(Type lhsType, Type rhsType)
Parameters
Type |
Name |
Description |
Type |
lhsType |
|
Type |
rhsType |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
IsAssignableValue(Type, Object)
Declaration
public static bool IsAssignableValue(Type type, object value)
Parameters
Type |
Name |
Description |
Type |
type |
|
System.Object |
value |
|
Returns
Type |
Description |
System.Boolean |
|