TypeHelpers
Overview
Location
- Reference: RemObjects.SDK.dll
- Namespace: RemObjects.SDK
Class Methods
GetAllProperties
class method GetAllProperties(type: Type): IEnumerable<PropertyInfo>
static IEnumerable<PropertyInfo> GetAllProperties(Type type)
Shared Function GetAllProperties(type As Type) As IEnumerable<PropertyInfo>
Parameters:
- type:
GetBaseGenericArgument
class method GetBaseGenericArgument(type: Type): Type
static Type GetBaseGenericArgument(Type type)
Shared Function GetBaseGenericArgument(type As Type) As Type
Parameters:
- type:
GetCustomAttribute<T> (MemberInfo, Boolean): T
class method GetCustomAttribute<T>(member: MemberInfo; inherit: Boolean): T
static T GetCustomAttribute<T>(MemberInfo member, Boolean inherit)
Shared Function GetCustomAttribute<T>(member As MemberInfo, inherit As Boolean) As T
Parameters:
- member:
- inherit:
GetCustomAttribute<T> (ParameterInfo, Boolean): T
class method GetCustomAttribute<T>(member: ParameterInfo; inherit: Boolean): T
static T GetCustomAttribute<T>(ParameterInfo member, Boolean inherit)
Shared Function GetCustomAttribute<T>(member As ParameterInfo, inherit As Boolean) As T
Parameters:
- member:
- inherit:
GetCustomAttribute<T> (Type): T
class method GetCustomAttribute<T>(type: Type): T
static T GetCustomAttribute<T>(Type type)
Shared Function GetCustomAttribute<T>(type As Type) As T
Parameters:
- type:
GetCustomAttribute<T> (Type, Boolean): T
class method GetCustomAttribute<T>(type: Type; inherit: Boolean): T
static T GetCustomAttribute<T>(Type type, Boolean inherit)
Shared Function GetCustomAttribute<T>(type As Type, inherit As Boolean) As T
Parameters:
- type:
- inherit:
GetCustomAttributes<T> (MemberInfo, Boolean): array of T
class method GetCustomAttributes<T>(member: MemberInfo; inherit: Boolean): array of T
static T[] GetCustomAttributes<T>(MemberInfo member, Boolean inherit)
Shared Function GetCustomAttributes<T>(member As MemberInfo, inherit As Boolean) As T()
Parameters:
- member:
- inherit:
GetCustomAttributes<T> (Type, Boolean): array of T
class method GetCustomAttributes<T>(type: Type; inherit: Boolean): array of T
static T[] GetCustomAttributes<T>(Type type, Boolean inherit)
Shared Function GetCustomAttributes<T>(type As Type, inherit As Boolean) As T()
Parameters:
- type:
- inherit:
GetGenericArgument
class method GetGenericArgument(type: Type): Type
static Type GetGenericArgument(Type type)
Shared Function GetGenericArgument(type As Type) As Type
Parameters:
- type:
GetTypeName
class method GetTypeName(type: Type): String
static String GetTypeName(Type type)
Shared Function GetTypeName(type As Type) As String
Parameters:
- type:
IsAttributeDefined (Type, Type): Boolean
class method IsAttributeDefined(type: Type; attributeType: Type): Boolean
static Boolean IsAttributeDefined(Type type, Type attributeType)
Shared Function IsAttributeDefined(type As Type, attributeType As Type) As Boolean
Parameters:
- type:
- attributeType:
IsAttributeDefined (Type, Type, Boolean): Boolean
class method IsAttributeDefined(type: Type; attributeType: Type; inherit: Boolean): Boolean
static Boolean IsAttributeDefined(Type type, Type attributeType, Boolean inherit)
Shared Function IsAttributeDefined(type As Type, attributeType As Type, inherit As Boolean) As Boolean
Parameters:
- type:
- attributeType:
- inherit:
IsMethodDefined
class method IsMethodDefined(type: Type; methodName: String; inherit: Boolean): Boolean
static Boolean IsMethodDefined(Type type, String methodName, Boolean inherit)
Shared Function IsMethodDefined(type As Type, methodName As String, inherit As Boolean) As Boolean
Parameters:
- type:
- methodName:
- inherit: