C# Class IKVM.Reflection.Type

Inheritance: IKVM.Reflection.MemberInfo, IGenericContext, IGenericBinder
Mostrar archivo Open project: samskivert/ikvm-monotouch Class Usage Examples

Public Properties

Property Type Description
EmptyTypes Type[]

Protected Properties

Property Type Description
underlyingType Type

Private Properties

Property 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

Public Methods

Method 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

Protected Methods

Method Description
GetFullName ( ) : string

Private Methods

Method 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 method

public Equals ( Type type ) : bool
type Type
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

FindInterfaces() public method

public FindInterfaces ( TypeFilter filter, object filterCriteria ) : Type[]
filter TypeFilter
filterCriteria object
return Type[]

FindMembers() public method

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

GetArrayRank() public method

public GetArrayRank ( ) : int
return int

GetConstructor() public method

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
return IKVM.Reflection.ConstructorInfo

GetConstructor() public method

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
return IKVM.Reflection.ConstructorInfo

GetConstructor() public method

public GetConstructor ( Type types ) : IKVM.Reflection.ConstructorInfo
types Type
return IKVM.Reflection.ConstructorInfo

GetConstructors() public method

public GetConstructors ( ) : IKVM.Reflection.ConstructorInfo[]
return IKVM.Reflection.ConstructorInfo[]

GetConstructors() public method

public GetConstructors ( BindingFlags bindingAttr ) : IKVM.Reflection.ConstructorInfo[]
bindingAttr BindingFlags
return IKVM.Reflection.ConstructorInfo[]

GetDefaultMembers() public method

public GetDefaultMembers ( ) : IKVM.Reflection.MemberInfo[]
return IKVM.Reflection.MemberInfo[]

GetElementType() public method

public GetElementType ( ) : Type
return Type

GetEnumUnderlyingType() public method

public GetEnumUnderlyingType ( ) : Type
return Type

GetEvent() public method

public GetEvent ( string name ) : IKVM.Reflection.EventInfo
name string
return IKVM.Reflection.EventInfo

GetEvent() public method

public GetEvent ( string name, BindingFlags bindingAttr ) : IKVM.Reflection.EventInfo
name string
bindingAttr BindingFlags
return IKVM.Reflection.EventInfo

GetEvents() public method

public GetEvents ( ) : IKVM.Reflection.EventInfo[]
return IKVM.Reflection.EventInfo[]

GetEvents() public method

public GetEvents ( BindingFlags bindingAttr ) : IKVM.Reflection.EventInfo[]
bindingAttr BindingFlags
return IKVM.Reflection.EventInfo[]

GetField() public method

public GetField ( string name ) : IKVM.Reflection.FieldInfo
name string
return IKVM.Reflection.FieldInfo

GetField() public method

public GetField ( string name, BindingFlags bindingAttr ) : IKVM.Reflection.FieldInfo
name string
bindingAttr BindingFlags
return IKVM.Reflection.FieldInfo

GetFields() public method

public GetFields ( ) : IKVM.Reflection.FieldInfo[]
return IKVM.Reflection.FieldInfo[]

GetFields() public method

public GetFields ( BindingFlags bindingAttr ) : IKVM.Reflection.FieldInfo[]
bindingAttr BindingFlags
return IKVM.Reflection.FieldInfo[]

GetFullName() protected method

protected GetFullName ( ) : string
return string

GetGenericArguments() public method

public GetGenericArguments ( ) : Type[]
return Type[]

GetGenericParameterConstraints() public method

public GetGenericParameterConstraints ( ) : Type[]
return Type[]

GetGenericTypeDefinition() public method

public GetGenericTypeDefinition ( ) : Type
return Type

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetInterface() public method

public GetInterface ( string name ) : Type
name string
return Type

GetInterface() public method

public GetInterface ( string name, bool ignoreCase ) : Type
name string
ignoreCase bool
return Type

GetInterfaceMap() public method

public GetInterfaceMap ( Type interfaceType ) : IKVM.Reflection.InterfaceMapping
interfaceType Type
return IKVM.Reflection.InterfaceMapping

GetInterfaces() public method

public GetInterfaces ( ) : Type[]
return Type[]

GetMember() public method

public GetMember ( string name ) : IKVM.Reflection.MemberInfo[]
name string
return IKVM.Reflection.MemberInfo[]

GetMember() public method

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

GetMember() public method

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

GetMembers() public method

public GetMembers ( ) : IKVM.Reflection.MemberInfo[]
return IKVM.Reflection.MemberInfo[]

GetMembers() public method

public GetMembers ( BindingFlags bindingAttr ) : IKVM.Reflection.MemberInfo[]
bindingAttr BindingFlags
return IKVM.Reflection.MemberInfo[]

GetMethod() public method

public GetMethod ( string name ) : IKVM.Reflection.MethodInfo
name string
return IKVM.Reflection.MethodInfo

GetMethod() public method

public GetMethod ( string name, BindingFlags bindingAttr ) : IKVM.Reflection.MethodInfo
name string
bindingAttr BindingFlags
return IKVM.Reflection.MethodInfo

GetMethod() public method

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
return IKVM.Reflection.MethodInfo

GetMethod() public method

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
return IKVM.Reflection.MethodInfo

GetMethod() public method

public GetMethod ( string name, Type types ) : IKVM.Reflection.MethodInfo
name string
types Type
return IKVM.Reflection.MethodInfo

GetMethod() public method

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

GetMethods() public method

public GetMethods ( ) : IKVM.Reflection.MethodInfo[]
return IKVM.Reflection.MethodInfo[]

GetMethods() public method

public GetMethods ( BindingFlags bindingAttr ) : IKVM.Reflection.MethodInfo[]
bindingAttr BindingFlags
return IKVM.Reflection.MethodInfo[]

GetNestedType() public method

public GetNestedType ( string name ) : Type
name string
return Type

GetNestedType() public method

public GetNestedType ( string name, BindingFlags bindingAttr ) : Type
name string
bindingAttr BindingFlags
return Type

GetNestedTypes() public method

public GetNestedTypes ( ) : Type[]
return Type[]

GetNestedTypes() public method

public GetNestedTypes ( BindingFlags bindingAttr ) : Type[]
bindingAttr BindingFlags
return Type[]

GetProperties() public method

public GetProperties ( ) : IKVM.Reflection.PropertyInfo[]
return IKVM.Reflection.PropertyInfo[]

GetProperties() public method

public GetProperties ( BindingFlags bindingAttr ) : IKVM.Reflection.PropertyInfo[]
bindingAttr BindingFlags
return IKVM.Reflection.PropertyInfo[]

GetProperty() public method

public GetProperty ( string name ) : IKVM.Reflection.PropertyInfo
name string
return IKVM.Reflection.PropertyInfo

GetProperty() public method

public GetProperty ( string name, BindingFlags bindingAttr ) : IKVM.Reflection.PropertyInfo
name string
bindingAttr BindingFlags
return IKVM.Reflection.PropertyInfo

GetProperty() public method

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
return IKVM.Reflection.PropertyInfo

GetProperty() public method

public GetProperty ( string name, Type returnType ) : IKVM.Reflection.PropertyInfo
name string
returnType Type
return IKVM.Reflection.PropertyInfo

GetProperty() public method

public GetProperty ( string name, Type returnType, Type types ) : IKVM.Reflection.PropertyInfo
name string
returnType Type
types Type
return IKVM.Reflection.PropertyInfo

GetProperty() public method

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
return IKVM.Reflection.PropertyInfo

GetTypeCode() public static method

public static GetTypeCode ( Type type ) : TypeCode
type Type
return TypeCode

IsAssignableFrom() public method

public IsAssignableFrom ( Type type ) : bool
type Type
return bool

IsSubclassOf() public method

public IsSubclassOf ( Type type ) : bool
type Type
return bool

MakeArrayType() public method

public MakeArrayType ( ) : Type
return Type

MakeArrayType() public method

public MakeArrayType ( int rank ) : Type
rank int
return Type

MakeByRefType() public method

public MakeByRefType ( ) : Type
return Type

MakeGenericType() public method

public MakeGenericType ( ) : Type
return Type

MakePointerType() public method

public MakePointerType ( ) : Type
return Type

ToString() public method

public ToString ( ) : string
return string

__GetDeclaredEvents() public method

public __GetDeclaredEvents ( ) : EventInfo[]
return EventInfo[]

__GetDeclaredFields() public method

public __GetDeclaredFields ( ) : FieldInfo[]
return FieldInfo[]

__GetDeclaredInterfaces() public method

public __GetDeclaredInterfaces ( ) : Type[]
return Type[]

__GetDeclaredMethods() public method

public __GetDeclaredMethods ( ) : MethodBase[]
return MethodBase[]

__GetDeclaredProperties() public method

public __GetDeclaredProperties ( ) : PropertyInfo[]
return PropertyInfo[]

__GetDeclaredTypes() public method

public __GetDeclaredTypes ( ) : Type[]
return Type[]

__GetGenericArgumentsOptionalCustomModifiers() public method

public __GetGenericArgumentsOptionalCustomModifiers ( ) : Type[][]
return Type[][]

__GetGenericArgumentsRequiredCustomModifiers() public method

public __GetGenericArgumentsRequiredCustomModifiers ( ) : Type[][]
return Type[][]

__GetMethodImplMap() public method

public __GetMethodImplMap ( ) : __MethodImplMap
return __MethodImplMap

__GetOptionalCustomModifiers() public method

public __GetOptionalCustomModifiers ( ) : Type[]
return Type[]

__GetRequiredCustomModifiers() public method

public __GetRequiredCustomModifiers ( ) : Type[]
return Type[]

__GetSystemType() public static method

public static __GetSystemType ( TypeCode typeCode ) : Type
typeCode TypeCode
return System.Type

__MakeArrayType() public method

public __MakeArrayType ( Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type
requiredCustomModifiers Type
optionalCustomModifiers Type
return Type

__MakeArrayType() public method

public __MakeArrayType ( int rank, Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type
rank int
requiredCustomModifiers Type
optionalCustomModifiers Type
return Type

__MakeByRefType() public method

public __MakeByRefType ( Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type
requiredCustomModifiers Type
optionalCustomModifiers Type
return Type

__MakeGenericType() public method

public __MakeGenericType ( Type typeArguments, Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type
typeArguments Type
requiredCustomModifiers Type
optionalCustomModifiers Type
return Type

__MakePointerType() public method

public __MakePointerType ( Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type
requiredCustomModifiers Type
optionalCustomModifiers Type
return Type

operator() public static method

public static operator ( ) : bool
return bool

Property Details

EmptyTypes public_oe static_oe property

public static Type[] EmptyTypes
return Type[]

underlyingType protected_oe property

protected Type underlyingType
return Type