C# Класс IKVM.Reflection.Type

Наследование: IKVM.Reflection.MemberInfo, IGenericContext, IGenericBinder
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
EmptyTypes Type[]

Защищенные свойства (Protected)

Свойство Тип Описание
underlyingType Type

Private Properties

Свойство Тип Описание
AddInterfaces void
AddMembers void
BindTypeParameters Type
CheckBaked void
CheckVisibility bool
FillInExplicitInterfaceMethods void
FindField IKVM.Reflection.FieldInfo
FindMethod IKVM.Reflection.MethodBase
FindMethod bool
FindNestedType Type
GetEnumUnderlyingTypeImpl Type
GetGenericTypeArgument Type
GetModuleBuilderToken int
IGenericBinder Type
IGenericContext Type
InplaceBindTypeParameters void
IsDirectlyImplementedInterface bool
MatchParameterTypes bool
ResolveNestedType Type
Type System
Type System

Открытые методы

Метод Описание
Equals ( Type type ) : bool
Equals ( object obj ) : bool
FindInterfaces ( TypeFilter filter, object filterCriteria ) : Type[]
FindMembers ( MemberTypes memberType, BindingFlags bindingAttr, MemberFilter filter, object filterCriteria ) : IKVM.Reflection.MemberInfo[]
GetArrayRank ( ) : int
GetConstructor ( BindingFlags bindingAttr, IKVM.Reflection.Binder binder, CallingConventions callingConvention, Type types, IKVM.Reflection.ParameterModifier modifiers ) : IKVM.Reflection.ConstructorInfo
GetConstructor ( BindingFlags bindingAttr, IKVM.Reflection.Binder binder, Type types, IKVM.Reflection.ParameterModifier modifiers ) : IKVM.Reflection.ConstructorInfo
GetConstructor ( Type types ) : IKVM.Reflection.ConstructorInfo
GetConstructors ( ) : IKVM.Reflection.ConstructorInfo[]
GetConstructors ( BindingFlags bindingAttr ) : IKVM.Reflection.ConstructorInfo[]
GetDefaultMembers ( ) : IKVM.Reflection.MemberInfo[]
GetElementType ( ) : Type
GetEnumUnderlyingType ( ) : Type
GetEvent ( string name ) : IKVM.Reflection.EventInfo
GetEvent ( string name, BindingFlags bindingAttr ) : IKVM.Reflection.EventInfo
GetEvents ( ) : IKVM.Reflection.EventInfo[]
GetEvents ( BindingFlags bindingAttr ) : IKVM.Reflection.EventInfo[]
GetField ( string name ) : IKVM.Reflection.FieldInfo
GetField ( string name, BindingFlags bindingAttr ) : IKVM.Reflection.FieldInfo
GetFields ( ) : IKVM.Reflection.FieldInfo[]
GetFields ( BindingFlags bindingAttr ) : IKVM.Reflection.FieldInfo[]
GetGenericArguments ( ) : Type[]
GetGenericParameterConstraints ( ) : Type[]
GetGenericTypeDefinition ( ) : Type
GetHashCode ( ) : int
GetInterface ( string name ) : Type
GetInterface ( string name, bool ignoreCase ) : Type
GetInterfaceMap ( Type interfaceType ) : IKVM.Reflection.InterfaceMapping
GetInterfaces ( ) : Type[]
GetMember ( string name ) : IKVM.Reflection.MemberInfo[]
GetMember ( string name, BindingFlags bindingAttr ) : IKVM.Reflection.MemberInfo[]
GetMember ( string name, MemberTypes type, BindingFlags bindingAttr ) : IKVM.Reflection.MemberInfo[]
GetMembers ( ) : IKVM.Reflection.MemberInfo[]
GetMembers ( BindingFlags bindingAttr ) : IKVM.Reflection.MemberInfo[]
GetMethod ( string name ) : IKVM.Reflection.MethodInfo
GetMethod ( string name, BindingFlags bindingAttr ) : IKVM.Reflection.MethodInfo
GetMethod ( string name, BindingFlags bindingAttr, IKVM.Reflection.Binder binder, CallingConventions callConvention, Type types, IKVM.Reflection.ParameterModifier modifiers ) : IKVM.Reflection.MethodInfo
GetMethod ( string name, BindingFlags bindingAttr, IKVM.Reflection.Binder binder, Type types, IKVM.Reflection.ParameterModifier modifiers ) : IKVM.Reflection.MethodInfo
GetMethod ( string name, Type types ) : IKVM.Reflection.MethodInfo
GetMethod ( string name, Type types, IKVM.Reflection.ParameterModifier modifiers ) : IKVM.Reflection.MethodInfo
GetMethods ( ) : IKVM.Reflection.MethodInfo[]
GetMethods ( BindingFlags bindingAttr ) : IKVM.Reflection.MethodInfo[]
GetNestedType ( string name ) : Type
GetNestedType ( string name, BindingFlags bindingAttr ) : Type
GetNestedTypes ( ) : Type[]
GetNestedTypes ( BindingFlags bindingAttr ) : Type[]
GetProperties ( ) : IKVM.Reflection.PropertyInfo[]
GetProperties ( BindingFlags bindingAttr ) : IKVM.Reflection.PropertyInfo[]
GetProperty ( string name ) : IKVM.Reflection.PropertyInfo
GetProperty ( string name, BindingFlags bindingAttr ) : IKVM.Reflection.PropertyInfo
GetProperty ( string name, BindingFlags bindingAttr, IKVM.Reflection.Binder binder, Type returnType, Type types, IKVM.Reflection.ParameterModifier modifiers ) : IKVM.Reflection.PropertyInfo
GetProperty ( string name, Type returnType ) : IKVM.Reflection.PropertyInfo
GetProperty ( string name, Type returnType, Type types ) : IKVM.Reflection.PropertyInfo
GetProperty ( string name, Type returnType, Type types, IKVM.Reflection.ParameterModifier modifiers ) : IKVM.Reflection.PropertyInfo
GetTypeCode ( Type type ) : TypeCode
IsAssignableFrom ( Type type ) : bool
IsSubclassOf ( Type type ) : bool
MakeArrayType ( ) : Type
MakeArrayType ( int rank ) : Type
MakeByRefType ( ) : Type
MakeGenericType ( ) : Type
MakePointerType ( ) : Type
ToString ( ) : string
__GetDeclaredEvents ( ) : EventInfo[]
__GetDeclaredFields ( ) : FieldInfo[]
__GetDeclaredInterfaces ( ) : Type[]
__GetDeclaredMethods ( ) : MethodBase[]
__GetDeclaredProperties ( ) : PropertyInfo[]
__GetDeclaredTypes ( ) : Type[]
__GetGenericArgumentsOptionalCustomModifiers ( ) : Type[][]
__GetGenericArgumentsRequiredCustomModifiers ( ) : Type[][]
__GetMethodImplMap ( ) : __MethodImplMap
__GetOptionalCustomModifiers ( ) : Type[]
__GetRequiredCustomModifiers ( ) : Type[]
__GetSystemType ( TypeCode typeCode ) : Type
__MakeArrayType ( Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type
__MakeArrayType ( int rank, Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type
__MakeByRefType ( Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type
__MakeGenericType ( Type typeArguments, Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type
__MakePointerType ( Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type
operator ( ) : bool

Защищенные методы

Метод Описание
GetFullName ( ) : string

Приватные методы

Метод Описание
AddInterfaces ( List list, Type type ) : void
AddMembers ( List list, MemberFilter filter, object filterCriteria, IKVM.Reflection.MemberInfo members ) : void
BindTypeParameters ( IGenericBinder binder ) : Type
CheckBaked ( ) : void
CheckVisibility ( TypeAttributes access ) : bool
FillInExplicitInterfaceMethods ( IKVM.Reflection.MethodInfo interfaceMethods, IKVM.Reflection.MethodInfo targetMethods ) : void
FindField ( string name, IKVM.Reflection.FieldSignature signature ) : IKVM.Reflection.FieldInfo
FindMethod ( string name, MethodSignature signature ) : IKVM.Reflection.MethodBase
FindMethod ( List methods, IKVM.Reflection.MethodInfo method ) : bool
FindNestedType ( TypeName name ) : Type
GetEnumUnderlyingTypeImpl ( ) : Type
GetGenericTypeArgument ( int index ) : Type
GetModuleBuilderToken ( ) : int
IGenericBinder ( Type type ) : Type
IGenericContext ( int index ) : Type
InplaceBindTypeParameters ( IGenericBinder binder, Type types ) : void
IsDirectlyImplementedInterface ( Type interfaceType ) : bool
MatchParameterTypes ( ParameterInfo parameters, Type types ) : bool
ResolveNestedType ( TypeName typeName ) : Type
Type ( ) : System
Type ( Type underlyingType ) : System

Описание методов

Equals() публичный метод

public Equals ( Type type ) : bool
type Type
Результат bool

Equals() публичный метод

public Equals ( object obj ) : bool
obj object
Результат bool

FindInterfaces() публичный метод

public FindInterfaces ( TypeFilter filter, object filterCriteria ) : Type[]
filter TypeFilter
filterCriteria object
Результат Type[]

FindMembers() публичный метод

public FindMembers ( MemberTypes memberType, BindingFlags bindingAttr, MemberFilter filter, object filterCriteria ) : IKVM.Reflection.MemberInfo[]
memberType MemberTypes
bindingAttr BindingFlags
filter MemberFilter
filterCriteria object
Результат IKVM.Reflection.MemberInfo[]

GetArrayRank() публичный метод

public GetArrayRank ( ) : int
Результат int

GetConstructor() публичный метод

public GetConstructor ( BindingFlags bindingAttr, IKVM.Reflection.Binder binder, CallingConventions callingConvention, Type types, IKVM.Reflection.ParameterModifier modifiers ) : IKVM.Reflection.ConstructorInfo
bindingAttr BindingFlags
binder IKVM.Reflection.Binder
callingConvention CallingConventions
types Type
modifiers IKVM.Reflection.ParameterModifier
Результат IKVM.Reflection.ConstructorInfo

GetConstructor() публичный метод

public GetConstructor ( BindingFlags bindingAttr, IKVM.Reflection.Binder binder, Type types, IKVM.Reflection.ParameterModifier modifiers ) : IKVM.Reflection.ConstructorInfo
bindingAttr BindingFlags
binder IKVM.Reflection.Binder
types Type
modifiers IKVM.Reflection.ParameterModifier
Результат IKVM.Reflection.ConstructorInfo

GetConstructor() публичный метод

public GetConstructor ( Type types ) : IKVM.Reflection.ConstructorInfo
types Type
Результат IKVM.Reflection.ConstructorInfo

GetConstructors() публичный метод

public GetConstructors ( ) : IKVM.Reflection.ConstructorInfo[]
Результат IKVM.Reflection.ConstructorInfo[]

GetConstructors() публичный метод

public GetConstructors ( BindingFlags bindingAttr ) : IKVM.Reflection.ConstructorInfo[]
bindingAttr BindingFlags
Результат IKVM.Reflection.ConstructorInfo[]

GetDefaultMembers() публичный метод

public GetDefaultMembers ( ) : IKVM.Reflection.MemberInfo[]
Результат IKVM.Reflection.MemberInfo[]

GetElementType() публичный метод

public GetElementType ( ) : Type
Результат Type

GetEnumUnderlyingType() публичный метод

public GetEnumUnderlyingType ( ) : Type
Результат Type

GetEvent() публичный метод

public GetEvent ( string name ) : IKVM.Reflection.EventInfo
name string
Результат IKVM.Reflection.EventInfo

GetEvent() публичный метод

public GetEvent ( string name, BindingFlags bindingAttr ) : IKVM.Reflection.EventInfo
name string
bindingAttr BindingFlags
Результат IKVM.Reflection.EventInfo

GetEvents() публичный метод

public GetEvents ( ) : IKVM.Reflection.EventInfo[]
Результат IKVM.Reflection.EventInfo[]

GetEvents() публичный метод

public GetEvents ( BindingFlags bindingAttr ) : IKVM.Reflection.EventInfo[]
bindingAttr BindingFlags
Результат IKVM.Reflection.EventInfo[]

GetField() публичный метод

public GetField ( string name ) : IKVM.Reflection.FieldInfo
name string
Результат IKVM.Reflection.FieldInfo

GetField() публичный метод

public GetField ( string name, BindingFlags bindingAttr ) : IKVM.Reflection.FieldInfo
name string
bindingAttr BindingFlags
Результат IKVM.Reflection.FieldInfo

GetFields() публичный метод

public GetFields ( ) : IKVM.Reflection.FieldInfo[]
Результат IKVM.Reflection.FieldInfo[]

GetFields() публичный метод

public GetFields ( BindingFlags bindingAttr ) : IKVM.Reflection.FieldInfo[]
bindingAttr BindingFlags
Результат IKVM.Reflection.FieldInfo[]

GetFullName() защищенный метод

protected GetFullName ( ) : string
Результат string

GetGenericArguments() публичный метод

public GetGenericArguments ( ) : Type[]
Результат Type[]

GetGenericParameterConstraints() публичный метод

public GetGenericParameterConstraints ( ) : Type[]
Результат Type[]

GetGenericTypeDefinition() публичный метод

public GetGenericTypeDefinition ( ) : Type
Результат Type

GetHashCode() публичный метод

public GetHashCode ( ) : int
Результат int

GetInterface() публичный метод

public GetInterface ( string name ) : Type
name string
Результат Type

GetInterface() публичный метод

public GetInterface ( string name, bool ignoreCase ) : Type
name string
ignoreCase bool
Результат Type

GetInterfaceMap() публичный метод

public GetInterfaceMap ( Type interfaceType ) : IKVM.Reflection.InterfaceMapping
interfaceType Type
Результат IKVM.Reflection.InterfaceMapping

GetInterfaces() публичный метод

public GetInterfaces ( ) : Type[]
Результат Type[]

GetMember() публичный метод

public GetMember ( string name ) : IKVM.Reflection.MemberInfo[]
name string
Результат IKVM.Reflection.MemberInfo[]

GetMember() публичный метод

public GetMember ( string name, BindingFlags bindingAttr ) : IKVM.Reflection.MemberInfo[]
name string
bindingAttr BindingFlags
Результат IKVM.Reflection.MemberInfo[]

GetMember() публичный метод

public GetMember ( string name, MemberTypes type, BindingFlags bindingAttr ) : IKVM.Reflection.MemberInfo[]
name string
type MemberTypes
bindingAttr BindingFlags
Результат IKVM.Reflection.MemberInfo[]

GetMembers() публичный метод

public GetMembers ( ) : IKVM.Reflection.MemberInfo[]
Результат IKVM.Reflection.MemberInfo[]

GetMembers() публичный метод

public GetMembers ( BindingFlags bindingAttr ) : IKVM.Reflection.MemberInfo[]
bindingAttr BindingFlags
Результат IKVM.Reflection.MemberInfo[]

GetMethod() публичный метод

public GetMethod ( string name ) : IKVM.Reflection.MethodInfo
name string
Результат IKVM.Reflection.MethodInfo

GetMethod() публичный метод

public GetMethod ( string name, BindingFlags bindingAttr ) : IKVM.Reflection.MethodInfo
name string
bindingAttr BindingFlags
Результат IKVM.Reflection.MethodInfo

GetMethod() публичный метод

public GetMethod ( string name, BindingFlags bindingAttr, IKVM.Reflection.Binder binder, CallingConventions callConvention, Type types, IKVM.Reflection.ParameterModifier modifiers ) : IKVM.Reflection.MethodInfo
name string
bindingAttr BindingFlags
binder IKVM.Reflection.Binder
callConvention CallingConventions
types Type
modifiers IKVM.Reflection.ParameterModifier
Результат IKVM.Reflection.MethodInfo

GetMethod() публичный метод

public GetMethod ( string name, BindingFlags bindingAttr, IKVM.Reflection.Binder binder, Type types, IKVM.Reflection.ParameterModifier modifiers ) : IKVM.Reflection.MethodInfo
name string
bindingAttr BindingFlags
binder IKVM.Reflection.Binder
types Type
modifiers IKVM.Reflection.ParameterModifier
Результат IKVM.Reflection.MethodInfo

GetMethod() публичный метод

public GetMethod ( string name, Type types ) : IKVM.Reflection.MethodInfo
name string
types Type
Результат IKVM.Reflection.MethodInfo

GetMethod() публичный метод

public GetMethod ( string name, Type types, IKVM.Reflection.ParameterModifier modifiers ) : IKVM.Reflection.MethodInfo
name string
types Type
modifiers IKVM.Reflection.ParameterModifier
Результат IKVM.Reflection.MethodInfo

GetMethods() публичный метод

public GetMethods ( ) : IKVM.Reflection.MethodInfo[]
Результат IKVM.Reflection.MethodInfo[]

GetMethods() публичный метод

public GetMethods ( BindingFlags bindingAttr ) : IKVM.Reflection.MethodInfo[]
bindingAttr BindingFlags
Результат IKVM.Reflection.MethodInfo[]

GetNestedType() публичный метод

public GetNestedType ( string name ) : Type
name string
Результат Type

GetNestedType() публичный метод

public GetNestedType ( string name, BindingFlags bindingAttr ) : Type
name string
bindingAttr BindingFlags
Результат Type

GetNestedTypes() публичный метод

public GetNestedTypes ( ) : Type[]
Результат Type[]

GetNestedTypes() публичный метод

public GetNestedTypes ( BindingFlags bindingAttr ) : Type[]
bindingAttr BindingFlags
Результат Type[]

GetProperties() публичный метод

public GetProperties ( ) : IKVM.Reflection.PropertyInfo[]
Результат IKVM.Reflection.PropertyInfo[]

GetProperties() публичный метод

public GetProperties ( BindingFlags bindingAttr ) : IKVM.Reflection.PropertyInfo[]
bindingAttr BindingFlags
Результат IKVM.Reflection.PropertyInfo[]

GetProperty() публичный метод

public GetProperty ( string name ) : IKVM.Reflection.PropertyInfo
name string
Результат IKVM.Reflection.PropertyInfo

GetProperty() публичный метод

public GetProperty ( string name, BindingFlags bindingAttr ) : IKVM.Reflection.PropertyInfo
name string
bindingAttr BindingFlags
Результат IKVM.Reflection.PropertyInfo

GetProperty() публичный метод

public GetProperty ( string name, BindingFlags bindingAttr, IKVM.Reflection.Binder binder, Type returnType, Type types, IKVM.Reflection.ParameterModifier modifiers ) : IKVM.Reflection.PropertyInfo
name string
bindingAttr BindingFlags
binder IKVM.Reflection.Binder
returnType Type
types Type
modifiers IKVM.Reflection.ParameterModifier
Результат IKVM.Reflection.PropertyInfo

GetProperty() публичный метод

public GetProperty ( string name, Type returnType ) : IKVM.Reflection.PropertyInfo
name string
returnType Type
Результат IKVM.Reflection.PropertyInfo

GetProperty() публичный метод

public GetProperty ( string name, Type returnType, Type types ) : IKVM.Reflection.PropertyInfo
name string
returnType Type
types Type
Результат IKVM.Reflection.PropertyInfo

GetProperty() публичный метод

public GetProperty ( string name, Type returnType, Type types, IKVM.Reflection.ParameterModifier modifiers ) : IKVM.Reflection.PropertyInfo
name string
returnType Type
types Type
modifiers IKVM.Reflection.ParameterModifier
Результат IKVM.Reflection.PropertyInfo

GetTypeCode() публичный статический метод

public static GetTypeCode ( Type type ) : TypeCode
type Type
Результат TypeCode

IsAssignableFrom() публичный метод

public IsAssignableFrom ( Type type ) : bool
type Type
Результат bool

IsSubclassOf() публичный метод

public IsSubclassOf ( Type type ) : bool
type Type
Результат bool

MakeArrayType() публичный метод

public MakeArrayType ( ) : Type
Результат Type

MakeArrayType() публичный метод

public MakeArrayType ( int rank ) : Type
rank int
Результат Type

MakeByRefType() публичный метод

public MakeByRefType ( ) : Type
Результат Type

MakeGenericType() публичный метод

public MakeGenericType ( ) : Type
Результат Type

MakePointerType() публичный метод

public MakePointerType ( ) : Type
Результат Type

ToString() публичный метод

public ToString ( ) : string
Результат string

__GetDeclaredEvents() публичный метод

public __GetDeclaredEvents ( ) : EventInfo[]
Результат EventInfo[]

__GetDeclaredFields() публичный метод

public __GetDeclaredFields ( ) : FieldInfo[]
Результат FieldInfo[]

__GetDeclaredInterfaces() публичный метод

public __GetDeclaredInterfaces ( ) : Type[]
Результат Type[]

__GetDeclaredMethods() публичный метод

public __GetDeclaredMethods ( ) : MethodBase[]
Результат MethodBase[]

__GetDeclaredProperties() публичный метод

public __GetDeclaredProperties ( ) : PropertyInfo[]
Результат PropertyInfo[]

__GetDeclaredTypes() публичный метод

public __GetDeclaredTypes ( ) : Type[]
Результат Type[]

__GetGenericArgumentsOptionalCustomModifiers() публичный метод

public __GetGenericArgumentsOptionalCustomModifiers ( ) : Type[][]
Результат Type[][]

__GetGenericArgumentsRequiredCustomModifiers() публичный метод

public __GetGenericArgumentsRequiredCustomModifiers ( ) : Type[][]
Результат Type[][]

__GetMethodImplMap() публичный метод

public __GetMethodImplMap ( ) : __MethodImplMap
Результат __MethodImplMap

__GetOptionalCustomModifiers() публичный метод

public __GetOptionalCustomModifiers ( ) : Type[]
Результат Type[]

__GetRequiredCustomModifiers() публичный метод

public __GetRequiredCustomModifiers ( ) : Type[]
Результат Type[]

__GetSystemType() публичный статический метод

public static __GetSystemType ( TypeCode typeCode ) : Type
typeCode TypeCode
Результат System.Type

__MakeArrayType() публичный метод

public __MakeArrayType ( Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type
requiredCustomModifiers Type
optionalCustomModifiers Type
Результат Type

__MakeArrayType() публичный метод

public __MakeArrayType ( int rank, Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type
rank int
requiredCustomModifiers Type
optionalCustomModifiers Type
Результат Type

__MakeByRefType() публичный метод

public __MakeByRefType ( Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type
requiredCustomModifiers Type
optionalCustomModifiers Type
Результат Type

__MakeGenericType() публичный метод

public __MakeGenericType ( Type typeArguments, Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type
typeArguments Type
requiredCustomModifiers Type
optionalCustomModifiers Type
Результат Type

__MakePointerType() публичный метод

public __MakePointerType ( Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type
requiredCustomModifiers Type
optionalCustomModifiers Type
Результат Type

operator() публичный статический метод

public static operator ( ) : bool
Результат bool

Описание свойств

EmptyTypes публичное статическое свойство

public static Type[] EmptyTypes
Результат Type[]

underlyingType защищенное свойство

protected Type underlyingType
Результат Type