C# Class System.Reflection.MonoGenericClass

Inheritance: Type
Mostra file Open project: kumpera/mono Class Usage Examples

Private Properties

Property Type Description
GetConstructor ConstructorInfo
GetConstructorsFromGTD System.Reflection.ConstructorInfo[]
GetConstructorsFromGTDWithHint System.Reflection.ConstructorInfo[]
GetConstructorsInternal System.Reflection.ConstructorInfo[]
GetEventsFromGTD System.Reflection.EventInfo[]
GetEventsInternal System.Reflection.EventInfo[]
GetField FieldInfo
GetFieldsFromGTD System.Reflection.FieldInfo[]
GetFieldsInternal System.Reflection.FieldInfo[]
GetInterfacesFromGTD Type[]
GetInterfacesInternal Type[]
GetMethod MethodInfo
GetMethodsFromGTDWithHint System.Reflection.MethodInfo[]
GetMethodsInternal System.Reflection.MethodInfo[]
GetParentType Type
GetPropertiesInternal System.Reflection.PropertyInfo[]
GetPropertiesInternal System.Reflection.PropertyInfo[]
InflateType Type
InflateType Type
InflateType Type
InternalResolve Type
MonoGenericClass System.Reflection
MonoGenericClass System.Reflection
PeelType Type
format_name string
initialize void
initialize void
register_with_runtime void

Public Methods

Method Description
GetConstructors ( BindingFlags bf ) : System.Reflection.ConstructorInfo[]
GetCustomAttributes ( Type attributeType, bool inherit ) : object[]
GetCustomAttributes ( bool inherit ) : object[]
GetElementType ( ) : Type
GetEvent ( string name, BindingFlags bindingAttr ) : EventInfo
GetEvents ( BindingFlags bf ) : System.Reflection.EventInfo[]
GetField ( string name, BindingFlags bindingAttr ) : FieldInfo
GetFields ( BindingFlags bf ) : System.Reflection.FieldInfo[]
GetGenericArguments ( ) : Type[]
GetGenericTypeDefinition ( ) : Type
GetInterface ( string name, bool ignoreCase ) : Type
GetInterfaces ( ) : Type[]
GetMembers ( BindingFlags bindingAttr ) : System.Reflection.MemberInfo[]
GetMethods ( BindingFlags bf ) : System.Reflection.MethodInfo[]
GetNestedType ( string name, BindingFlags bindingAttr ) : Type
GetNestedTypes ( BindingFlags bf ) : Type[]
GetProperties ( BindingFlags bf ) : System.Reflection.PropertyInfo[]
InvokeMember ( string name, BindingFlags invokeAttr, Binder binder, object target, object args, ParameterModifier modifiers, CultureInfo culture, string namedParameters ) : object
IsAssignableFrom ( Type c ) : bool
IsDefined ( Type attributeType, bool inherit ) : bool
MakeArrayType ( ) : Type
MakeArrayType ( int rank ) : Type
MakeByRefType ( ) : Type
MakePointerType ( ) : Type
ToString ( ) : string

Protected Methods

Method Description
GetAttributeFlagsImpl ( ) : TypeAttributes
GetConstructorImpl ( BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type types, ParameterModifier modifiers ) : ConstructorInfo
GetMethodImpl ( string name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type types, ParameterModifier modifiers ) : MethodInfo
GetPropertyImpl ( string name, BindingFlags bindingAttr, Binder binder, Type returnType, Type types, ParameterModifier modifiers ) : PropertyInfo
HasElementTypeImpl ( ) : bool
IsArrayImpl ( ) : bool
IsByRefImpl ( ) : bool
IsCOMObjectImpl ( ) : bool
IsPointerImpl ( ) : bool
IsPrimitiveImpl ( ) : bool
IsValueTypeImpl ( ) : bool

Private Methods

Method Description
GetConstructor ( ConstructorInfo fromNoninstanciated ) : ConstructorInfo
GetConstructorsFromGTD ( BindingFlags flags ) : System.Reflection.ConstructorInfo[]
GetConstructorsFromGTDWithHint ( BindingFlags hint ) : System.Reflection.ConstructorInfo[]
GetConstructorsInternal ( BindingFlags bf, MonoGenericClass reftype ) : System.Reflection.ConstructorInfo[]
GetEventsFromGTD ( BindingFlags flags ) : System.Reflection.EventInfo[]
GetEventsInternal ( BindingFlags bf, MonoGenericClass reftype ) : System.Reflection.EventInfo[]
GetField ( FieldInfo fromNoninstanciated ) : FieldInfo
GetFieldsFromGTD ( BindingFlags bf ) : System.Reflection.FieldInfo[]
GetFieldsInternal ( BindingFlags bf, MonoGenericClass reftype ) : System.Reflection.FieldInfo[]
GetInterfacesFromGTD ( ) : Type[]
GetInterfacesInternal ( ) : Type[]
GetMethod ( MethodInfo fromNoninstanciated ) : MethodInfo
GetMethodsFromGTDWithHint ( BindingFlags hint ) : System.Reflection.MethodInfo[]
GetMethodsInternal ( BindingFlags bf, MonoGenericClass reftype ) : System.Reflection.MethodInfo[]
GetParentType ( ) : Type
GetPropertiesInternal ( BindingFlags bf, MonoGenericClass reftype ) : System.Reflection.PropertyInfo[]
GetPropertiesInternal ( Type type, BindingFlags bf ) : System.Reflection.PropertyInfo[]
InflateType ( Type type ) : Type
InflateType ( Type type, Type method_args ) : Type
InflateType ( Type type, Type type_args, Type method_args ) : Type
InternalResolve ( ) : Type
MonoGenericClass ( ) : System.Reflection
MonoGenericClass ( Type tb, Type args ) : System.Reflection
PeelType ( Type t ) : Type
format_name ( bool full_name, bool assembly_qualified ) : string
initialize ( ) : void
initialize ( MethodInfo methods, ConstructorInfo ctors, FieldInfo fields, PropertyInfo properties, EventInfo events ) : void
register_with_runtime ( Type type ) : void

Method Details

GetAttributeFlagsImpl() protected method

protected GetAttributeFlagsImpl ( ) : TypeAttributes
return TypeAttributes

GetConstructorImpl() protected method

protected GetConstructorImpl ( BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type types, ParameterModifier modifiers ) : ConstructorInfo
bindingAttr BindingFlags
binder Binder
callConvention CallingConventions
types Type
modifiers ParameterModifier
return ConstructorInfo

GetConstructors() public method

public GetConstructors ( BindingFlags bf ) : System.Reflection.ConstructorInfo[]
bf BindingFlags
return System.Reflection.ConstructorInfo[]

GetCustomAttributes() public method

public GetCustomAttributes ( Type attributeType, bool inherit ) : object[]
attributeType Type
inherit bool
return object[]

GetCustomAttributes() public method

public GetCustomAttributes ( bool inherit ) : object[]
inherit bool
return object[]

GetElementType() public method

public GetElementType ( ) : Type
return Type

GetEvent() public method

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

GetEvents() public method

public GetEvents ( BindingFlags bf ) : System.Reflection.EventInfo[]
bf BindingFlags
return System.Reflection.EventInfo[]

GetField() public method

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

GetFields() public method

public GetFields ( BindingFlags bf ) : System.Reflection.FieldInfo[]
bf BindingFlags
return System.Reflection.FieldInfo[]

GetGenericArguments() public method

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

GetGenericTypeDefinition() public method

public GetGenericTypeDefinition ( ) : Type
return Type

GetInterface() public method

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

GetInterfaces() public method

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

GetMembers() public method

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

GetMethodImpl() protected method

protected GetMethodImpl ( string name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type types, ParameterModifier modifiers ) : MethodInfo
name string
bindingAttr BindingFlags
binder Binder
callConvention CallingConventions
types Type
modifiers ParameterModifier
return MethodInfo

GetMethods() public method

public GetMethods ( BindingFlags bf ) : System.Reflection.MethodInfo[]
bf BindingFlags
return System.Reflection.MethodInfo[]

GetNestedType() public method

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

GetNestedTypes() public method

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

GetProperties() public method

public GetProperties ( BindingFlags bf ) : System.Reflection.PropertyInfo[]
bf BindingFlags
return System.Reflection.PropertyInfo[]

GetPropertyImpl() protected method

protected GetPropertyImpl ( string name, BindingFlags bindingAttr, Binder binder, Type returnType, Type types, ParameterModifier modifiers ) : PropertyInfo
name string
bindingAttr BindingFlags
binder Binder
returnType Type
types Type
modifiers ParameterModifier
return PropertyInfo

HasElementTypeImpl() protected method

protected HasElementTypeImpl ( ) : bool
return bool

InvokeMember() public method

public InvokeMember ( string name, BindingFlags invokeAttr, Binder binder, object target, object args, ParameterModifier modifiers, CultureInfo culture, string namedParameters ) : object
name string
invokeAttr BindingFlags
binder Binder
target object
args object
modifiers ParameterModifier
culture System.Globalization.CultureInfo
namedParameters string
return object

IsArrayImpl() protected method

protected IsArrayImpl ( ) : bool
return bool

IsAssignableFrom() public method

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

IsByRefImpl() protected method

protected IsByRefImpl ( ) : bool
return bool

IsCOMObjectImpl() protected method

protected IsCOMObjectImpl ( ) : bool
return bool

IsDefined() public method

public IsDefined ( Type attributeType, bool inherit ) : bool
attributeType Type
inherit bool
return bool

IsPointerImpl() protected method

protected IsPointerImpl ( ) : bool
return bool

IsPrimitiveImpl() protected method

protected IsPrimitiveImpl ( ) : bool
return bool

IsValueTypeImpl() protected method

protected IsValueTypeImpl ( ) : bool
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

MakePointerType() public method

public MakePointerType ( ) : Type
return Type

ToString() public method

public ToString ( ) : string
return string