C# Class System.MonoType

Inheritance: Type, ISerializable
Mostra file Open project: runefs/Marvin Class Usage Examples

Public Methods

Method Description
GetConstructors ( BindingFlags bindingAttr ) : System.Reflection.ConstructorInfo[]
GetCustomAttributes ( Type attributeType, bool inherit ) : object[]
GetCustomAttributes ( bool inherit ) : object[]
GetEvent ( string name, BindingFlags bindingAttr ) : EventInfo
GetEvents ( BindingFlags bindingAttr ) : System.Reflection.EventInfo[]
GetFields ( BindingFlags bindingAttr ) : System.Reflection.FieldInfo[]
GetGenericTypeDefinition ( ) : Type
GetInterface ( string name, bool ignoreCase ) : Type
GetMembers ( BindingFlags bindingAttr ) : MemberInfo[]
GetMethods ( BindingFlags bindingAttr ) : System.Reflection.MethodInfo[]
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetProperties ( BindingFlags bindingAttr ) : System.Reflection.PropertyInfo[]
InvokeMember ( string name, BindingFlags invokeAttr, Binder binder, object target, object args, ParameterModifier modifiers, CultureInfo culture, string namedParameters ) : object
IsDefined ( Type attributeType, bool inherit ) : bool
IsSubclassOf ( Type type ) : bool
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

Private Methods

Method Description
CheckMethodSecurity ( MethodBase mb ) : MethodBase
GetArrayRank ( ) : int
GetConstructor ( ConstructorInfo fromNoninstanciated ) : ConstructorInfo
GetConstructors_internal ( BindingFlags bindingAttr, Type reflected_type ) : System.Reflection.ConstructorInfo[]
GetCorrespondingInflatedConstructor ( ConstructorInfo generic ) : ConstructorInfo
GetCorrespondingInflatedMethod ( MethodInfo generic ) : MethodInfo
GetDefaultConstructor ( ) : ConstructorInfo
GetElementType ( ) : Type
GetEvents_internal ( BindingFlags bindingAttr, Type reflected_type ) : System.Reflection.EventInfo[]
GetField ( FieldInfo fromNoninstanciated ) : FieldInfo
GetField ( string name, BindingFlags bindingAttr ) : FieldInfo
GetFields_internal ( BindingFlags bindingAttr, Type reflected_type ) : System.Reflection.FieldInfo[]
GetGenericArguments ( ) : System.Type[]
GetInterfaces ( ) : System.Type[]
GetMethod ( MethodInfo fromNoninstanciated ) : MethodInfo
GetMethodsByName ( string name, BindingFlags bindingAttr, bool ignoreCase, Type reflected_type ) : System.Reflection.MethodInfo[]
GetNestedType ( string name, BindingFlags bindingAttr ) : Type
GetNestedTypes ( BindingFlags bindingAttr ) : System.Type[]
GetPropertiesByName ( string name, BindingFlags bindingAttr, bool icase, Type reflected_type ) : System.Reflection.PropertyInfo[]
InternalGetEvent ( string name, BindingFlags bindingAttr ) : EventInfo
IsByRefImpl ( ) : bool
IsCOMObjectImpl ( ) : bool
IsPointerImpl ( ) : bool
IsPrimitiveImpl ( ) : bool
MonoType ( Object obj ) : System.Globalization
ReorderParamArrayArguments ( object &args, MethodBase method ) : void
getFullName ( bool full_name, bool assembly_qualified ) : string
get_attributes ( Type type ) : TypeAttributes
type_from_obj ( MonoType type, Object obj ) : 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 System.Reflection.Binder
callConvention CallingConventions
types Type
modifiers System.Reflection.ParameterModifier
return System.Reflection.ConstructorInfo

GetConstructors() public method

public GetConstructors ( BindingFlags bindingAttr ) : System.Reflection.ConstructorInfo[]
bindingAttr 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[]

GetEvent() public method

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

GetEvents() public method

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

GetFields() public method

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

GetGenericTypeDefinition() public method

public GetGenericTypeDefinition ( ) : Type
return Type

GetInterface() public method

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

GetMembers() public method

public GetMembers ( BindingFlags bindingAttr ) : MemberInfo[]
bindingAttr BindingFlags
return MemberInfo[]

GetMethodImpl() protected method

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

GetMethods() public method

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

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return void

GetProperties() public method

public GetProperties ( BindingFlags bindingAttr ) : System.Reflection.PropertyInfo[]
bindingAttr 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 System.Reflection.Binder
returnType Type
types Type
modifiers System.Reflection.ParameterModifier
return System.Reflection.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 System.Reflection.Binder
target object
args object
modifiers System.Reflection.ParameterModifier
culture System.Globalization.CultureInfo
namedParameters string
return object

IsArrayImpl() protected method

protected IsArrayImpl ( ) : bool
return bool

IsDefined() public method

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

IsSubclassOf() public method

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

ToString() public method

public ToString ( ) : string
return string