C# Class IKVM.Reflection.Type

Inheritance: IKVM.Reflection.MemberInfo, IGenericContext, IGenericBinder
Afficher le fichier Open project: samskivert/ikvm-monotouch Class Usage Examples

Méthodes publiques

Свойство Type Description
EmptyTypes Type[]

Protected Properties

Свойство Type Description
underlyingType Type

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
GetFullName ( ) : string

Private Methods

Méthode Description
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

Method Details

Equals() public méthode

public Equals ( Type type ) : bool
type Type
Résultat bool

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

FindInterfaces() public méthode

public FindInterfaces ( TypeFilter filter, object filterCriteria ) : Type[]
filter TypeFilter
filterCriteria object
Résultat Type[]

FindMembers() public méthode

public FindMembers ( MemberTypes memberType, BindingFlags bindingAttr, MemberFilter filter, object filterCriteria ) : IKVM.Reflection.MemberInfo[]
memberType MemberTypes
bindingAttr BindingFlags
filter MemberFilter
filterCriteria object
Résultat IKVM.Reflection.MemberInfo[]

GetArrayRank() public méthode

public GetArrayRank ( ) : int
Résultat int

GetConstructor() public méthode

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
Résultat IKVM.Reflection.ConstructorInfo

GetConstructor() public méthode

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
Résultat IKVM.Reflection.ConstructorInfo

GetConstructor() public méthode

public GetConstructor ( Type types ) : IKVM.Reflection.ConstructorInfo
types Type
Résultat IKVM.Reflection.ConstructorInfo

GetConstructors() public méthode

public GetConstructors ( ) : IKVM.Reflection.ConstructorInfo[]
Résultat IKVM.Reflection.ConstructorInfo[]

GetConstructors() public méthode

public GetConstructors ( BindingFlags bindingAttr ) : IKVM.Reflection.ConstructorInfo[]
bindingAttr BindingFlags
Résultat IKVM.Reflection.ConstructorInfo[]

GetDefaultMembers() public méthode

public GetDefaultMembers ( ) : IKVM.Reflection.MemberInfo[]
Résultat IKVM.Reflection.MemberInfo[]

GetElementType() public méthode

public GetElementType ( ) : Type
Résultat Type

GetEnumUnderlyingType() public méthode

public GetEnumUnderlyingType ( ) : Type
Résultat Type

GetEvent() public méthode

public GetEvent ( string name ) : IKVM.Reflection.EventInfo
name string
Résultat IKVM.Reflection.EventInfo

GetEvent() public méthode

public GetEvent ( string name, BindingFlags bindingAttr ) : IKVM.Reflection.EventInfo
name string
bindingAttr BindingFlags
Résultat IKVM.Reflection.EventInfo

GetEvents() public méthode

public GetEvents ( ) : IKVM.Reflection.EventInfo[]
Résultat IKVM.Reflection.EventInfo[]

GetEvents() public méthode

public GetEvents ( BindingFlags bindingAttr ) : IKVM.Reflection.EventInfo[]
bindingAttr BindingFlags
Résultat IKVM.Reflection.EventInfo[]

GetField() public méthode

public GetField ( string name ) : IKVM.Reflection.FieldInfo
name string
Résultat IKVM.Reflection.FieldInfo

GetField() public méthode

public GetField ( string name, BindingFlags bindingAttr ) : IKVM.Reflection.FieldInfo
name string
bindingAttr BindingFlags
Résultat IKVM.Reflection.FieldInfo

GetFields() public méthode

public GetFields ( ) : IKVM.Reflection.FieldInfo[]
Résultat IKVM.Reflection.FieldInfo[]

GetFields() public méthode

public GetFields ( BindingFlags bindingAttr ) : IKVM.Reflection.FieldInfo[]
bindingAttr BindingFlags
Résultat IKVM.Reflection.FieldInfo[]

GetFullName() protected méthode

protected GetFullName ( ) : string
Résultat string

GetGenericArguments() public méthode

public GetGenericArguments ( ) : Type[]
Résultat Type[]

GetGenericParameterConstraints() public méthode

public GetGenericParameterConstraints ( ) : Type[]
Résultat Type[]

GetGenericTypeDefinition() public méthode

public GetGenericTypeDefinition ( ) : Type
Résultat Type

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetInterface() public méthode

public GetInterface ( string name ) : Type
name string
Résultat Type

GetInterface() public méthode

public GetInterface ( string name, bool ignoreCase ) : Type
name string
ignoreCase bool
Résultat Type

GetInterfaceMap() public méthode

public GetInterfaceMap ( Type interfaceType ) : IKVM.Reflection.InterfaceMapping
interfaceType Type
Résultat IKVM.Reflection.InterfaceMapping

GetInterfaces() public méthode

public GetInterfaces ( ) : Type[]
Résultat Type[]

GetMember() public méthode

public GetMember ( string name ) : IKVM.Reflection.MemberInfo[]
name string
Résultat IKVM.Reflection.MemberInfo[]

GetMember() public méthode

public GetMember ( string name, BindingFlags bindingAttr ) : IKVM.Reflection.MemberInfo[]
name string
bindingAttr BindingFlags
Résultat IKVM.Reflection.MemberInfo[]

GetMember() public méthode

public GetMember ( string name, MemberTypes type, BindingFlags bindingAttr ) : IKVM.Reflection.MemberInfo[]
name string
type MemberTypes
bindingAttr BindingFlags
Résultat IKVM.Reflection.MemberInfo[]

GetMembers() public méthode

public GetMembers ( ) : IKVM.Reflection.MemberInfo[]
Résultat IKVM.Reflection.MemberInfo[]

GetMembers() public méthode

public GetMembers ( BindingFlags bindingAttr ) : IKVM.Reflection.MemberInfo[]
bindingAttr BindingFlags
Résultat IKVM.Reflection.MemberInfo[]

GetMethod() public méthode

public GetMethod ( string name ) : IKVM.Reflection.MethodInfo
name string
Résultat IKVM.Reflection.MethodInfo

GetMethod() public méthode

public GetMethod ( string name, BindingFlags bindingAttr ) : IKVM.Reflection.MethodInfo
name string
bindingAttr BindingFlags
Résultat IKVM.Reflection.MethodInfo

GetMethod() public méthode

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
Résultat IKVM.Reflection.MethodInfo

GetMethod() public méthode

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
Résultat IKVM.Reflection.MethodInfo

GetMethod() public méthode

public GetMethod ( string name, Type types ) : IKVM.Reflection.MethodInfo
name string
types Type
Résultat IKVM.Reflection.MethodInfo

GetMethod() public méthode

public GetMethod ( string name, Type types, IKVM.Reflection.ParameterModifier modifiers ) : IKVM.Reflection.MethodInfo
name string
types Type
modifiers IKVM.Reflection.ParameterModifier
Résultat IKVM.Reflection.MethodInfo

GetMethods() public méthode

public GetMethods ( ) : IKVM.Reflection.MethodInfo[]
Résultat IKVM.Reflection.MethodInfo[]

GetMethods() public méthode

public GetMethods ( BindingFlags bindingAttr ) : IKVM.Reflection.MethodInfo[]
bindingAttr BindingFlags
Résultat IKVM.Reflection.MethodInfo[]

GetNestedType() public méthode

public GetNestedType ( string name ) : Type
name string
Résultat Type

GetNestedType() public méthode

public GetNestedType ( string name, BindingFlags bindingAttr ) : Type
name string
bindingAttr BindingFlags
Résultat Type

GetNestedTypes() public méthode

public GetNestedTypes ( ) : Type[]
Résultat Type[]

GetNestedTypes() public méthode

public GetNestedTypes ( BindingFlags bindingAttr ) : Type[]
bindingAttr BindingFlags
Résultat Type[]

GetProperties() public méthode

public GetProperties ( ) : IKVM.Reflection.PropertyInfo[]
Résultat IKVM.Reflection.PropertyInfo[]

GetProperties() public méthode

public GetProperties ( BindingFlags bindingAttr ) : IKVM.Reflection.PropertyInfo[]
bindingAttr BindingFlags
Résultat IKVM.Reflection.PropertyInfo[]

GetProperty() public méthode

public GetProperty ( string name ) : IKVM.Reflection.PropertyInfo
name string
Résultat IKVM.Reflection.PropertyInfo

GetProperty() public méthode

public GetProperty ( string name, BindingFlags bindingAttr ) : IKVM.Reflection.PropertyInfo
name string
bindingAttr BindingFlags
Résultat IKVM.Reflection.PropertyInfo

GetProperty() public méthode

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
Résultat IKVM.Reflection.PropertyInfo

GetProperty() public méthode

public GetProperty ( string name, Type returnType ) : IKVM.Reflection.PropertyInfo
name string
returnType Type
Résultat IKVM.Reflection.PropertyInfo

GetProperty() public méthode

public GetProperty ( string name, Type returnType, Type types ) : IKVM.Reflection.PropertyInfo
name string
returnType Type
types Type
Résultat IKVM.Reflection.PropertyInfo

GetProperty() public méthode

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
Résultat IKVM.Reflection.PropertyInfo

GetTypeCode() public static méthode

public static GetTypeCode ( Type type ) : TypeCode
type Type
Résultat TypeCode

IsAssignableFrom() public méthode

public IsAssignableFrom ( Type type ) : bool
type Type
Résultat bool

IsSubclassOf() public méthode

public IsSubclassOf ( Type type ) : bool
type Type
Résultat bool

MakeArrayType() public méthode

public MakeArrayType ( ) : Type
Résultat Type

MakeArrayType() public méthode

public MakeArrayType ( int rank ) : Type
rank int
Résultat Type

MakeByRefType() public méthode

public MakeByRefType ( ) : Type
Résultat Type

MakeGenericType() public méthode

public MakeGenericType ( ) : Type
Résultat Type

MakePointerType() public méthode

public MakePointerType ( ) : Type
Résultat Type

ToString() public méthode

public ToString ( ) : string
Résultat string

__GetDeclaredEvents() public méthode

public __GetDeclaredEvents ( ) : EventInfo[]
Résultat EventInfo[]

__GetDeclaredFields() public méthode

public __GetDeclaredFields ( ) : FieldInfo[]
Résultat FieldInfo[]

__GetDeclaredInterfaces() public méthode

public __GetDeclaredInterfaces ( ) : Type[]
Résultat Type[]

__GetDeclaredMethods() public méthode

public __GetDeclaredMethods ( ) : MethodBase[]
Résultat MethodBase[]

__GetDeclaredProperties() public méthode

public __GetDeclaredProperties ( ) : PropertyInfo[]
Résultat PropertyInfo[]

__GetDeclaredTypes() public méthode

public __GetDeclaredTypes ( ) : Type[]
Résultat Type[]

__GetGenericArgumentsOptionalCustomModifiers() public méthode

public __GetGenericArgumentsOptionalCustomModifiers ( ) : Type[][]
Résultat Type[][]

__GetGenericArgumentsRequiredCustomModifiers() public méthode

public __GetGenericArgumentsRequiredCustomModifiers ( ) : Type[][]
Résultat Type[][]

__GetMethodImplMap() public méthode

public __GetMethodImplMap ( ) : __MethodImplMap
Résultat __MethodImplMap

__GetOptionalCustomModifiers() public méthode

public __GetOptionalCustomModifiers ( ) : Type[]
Résultat Type[]

__GetRequiredCustomModifiers() public méthode

public __GetRequiredCustomModifiers ( ) : Type[]
Résultat Type[]

__GetSystemType() public static méthode

public static __GetSystemType ( TypeCode typeCode ) : Type
typeCode TypeCode
Résultat System.Type

__MakeArrayType() public méthode

public __MakeArrayType ( Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type
requiredCustomModifiers Type
optionalCustomModifiers Type
Résultat Type

__MakeArrayType() public méthode

public __MakeArrayType ( int rank, Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type
rank int
requiredCustomModifiers Type
optionalCustomModifiers Type
Résultat Type

__MakeByRefType() public méthode

public __MakeByRefType ( Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type
requiredCustomModifiers Type
optionalCustomModifiers Type
Résultat Type

__MakeGenericType() public méthode

public __MakeGenericType ( Type typeArguments, Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type
typeArguments Type
requiredCustomModifiers Type
optionalCustomModifiers Type
Résultat Type

__MakePointerType() public méthode

public __MakePointerType ( Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type
requiredCustomModifiers Type
optionalCustomModifiers Type
Résultat Type

operator() public static méthode

public static operator ( ) : bool
Résultat bool

Property Details

EmptyTypes public_oe static_oe property

public static Type[] EmptyTypes
Résultat Type[]

underlyingType protected_oe property

protected Type underlyingType
Résultat Type