Table of Contents

Class ClassUtils

Namespace
Steeltoe.Common.Util
Assembly
Steeltoe.Common.dll
public static class ClassUtils
Inheritance
ClassUtils
Inherited Members

Methods

DetermineCommonAncestor(Type, Type)

public static Type DetermineCommonAncestor(Type clazz1, Type clazz2)

Parameters

clazz1 Type
clazz2 Type

Returns

Type

GetGenericTypeDefinition(Type)

public static Type GetGenericTypeDefinition(Type type)

Parameters

type Type

Returns

Type

GetInterfaceMethodIfPossible(MethodInfo)

public static MethodInfo GetInterfaceMethodIfPossible(MethodInfo method)

Parameters

method MethodInfo

Returns

MethodInfo

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

string

IsAssignable(Type, Type)

public static bool IsAssignable(Type lhsType, Type rhsType)

Parameters

lhsType Type
rhsType Type

Returns

bool

IsAssignableValue(Type, object)

public static bool IsAssignableValue(Type type, object value)

Parameters

type Type
value object

Returns

bool