C# Класс System.MonoType

Наследование: Type, ISerializable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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

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

Метод Описание
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

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

Метод Описание
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

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

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

protected GetAttributeFlagsImpl ( ) : TypeAttributes
Результат TypeAttributes

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

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
Результат System.Reflection.ConstructorInfo

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

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

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

public GetCustomAttributes ( Type attributeType, bool inherit ) : object[]
attributeType Type
inherit bool
Результат object[]

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

public GetCustomAttributes ( bool inherit ) : object[]
inherit bool
Результат object[]

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

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

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

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

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

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

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

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

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

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

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

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

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

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
Результат System.Reflection.MethodInfo

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

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

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

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Результат void

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

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

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

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
Результат System.Reflection.PropertyInfo

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

protected HasElementTypeImpl ( ) : bool
Результат bool

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

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
Результат object

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

protected IsArrayImpl ( ) : bool
Результат bool

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

public IsDefined ( Type attributeType, bool inherit ) : bool
attributeType Type
inherit bool
Результат bool

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

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

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

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