C# Class System.Reflection.Module

Inheritance: System.Reflection.ICustomAttributeProvider
Afficher le fichier Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Méthodes publiques

Свойство Type Description
FilterTypeName TypeFilter
FilterTypeNameIgnoreCase TypeFilter

Private Properties

Свойство Type Description
ConvertToTypeHandleArray RuntimeTypeHandle[]
GetAssemblyInternal Assembly
GetHINSTANCE IntPtr
GetModuleHandle ModuleHandle
GetObjectData void
GetType Type
GetType Type
GetType Type
GetTypeInternal Type
GetTypesInternal Type[]
InternalAddResource void
InternalGetField FieldInfo
InternalGetFullyQualifiedName String
InternalGetMemberRef int
InternalGetMemberRefFromSignature int
InternalGetMemberRefOfFieldInfo int
InternalGetMemberRefOfMethodInfo int
InternalGetName String
InternalGetStringConstant int
InternalGetTypeSpecTokenWithBytes int
InternalGetTypeToken int
InternalLoadInMemoryTypeByName Type
InternalPreSavePEFile void
InternalSavePEFile void
InternalSetFieldRVAContent void
InternalSetModuleProps void
InternalSetResourceCounts void
IsDynamic bool
IsResourceInternal bool
Module System
ResolveLiteralField FieldInfo
_InternalGetMemberRefOfFieldInfo int
_InternalGetMemberRefOfMethodInfo int
_InternalSavePEFile void
_Module void
_Module void
_Module void
_Module void
nativeGetArrayMethodToken int

Méthodes publiques

Méthode Description
FindTypes ( TypeFilter filter, Object filterCriteria ) : Type[]
GetCustomAttributes ( Type attributeType, bool inherit ) : Object[]
GetCustomAttributes ( bool inherit ) : Object[]
GetField ( String name ) : FieldInfo
GetField ( String name, BindingFlags bindingAttr ) : FieldInfo
GetFields ( ) : System.Reflection.FieldInfo[]
GetFields ( BindingFlags bindingFlags ) : System.Reflection.FieldInfo[]
GetMethod ( String name ) : MethodInfo
GetMethod ( String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type types, ParameterModifier modifiers ) : MethodInfo
GetMethod ( String name, Type types ) : MethodInfo
GetMethods ( ) : System.Reflection.MethodInfo[]
GetMethods ( BindingFlags bindingFlags ) : System.Reflection.MethodInfo[]
GetPEKind ( PortableExecutableKinds &peKind, ImageFileMachine &machine ) : void
GetTypes ( ) : Type[]
IsDefined ( Type attributeType, bool inherit ) : bool
IsResource ( ) : bool
ResolveField ( int metadataToken ) : FieldInfo
ResolveField ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : FieldInfo
ResolveMember ( int metadataToken ) : MemberInfo
ResolveMember ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : MemberInfo
ResolveMethod ( int metadataToken ) : MethodBase
ResolveMethod ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : MethodBase
ResolveSignature ( int metadataToken ) : byte[]
ResolveString ( int metadataToken ) : string
ResolveType ( int metadataToken ) : Type
ResolveType ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : Type
ToString ( ) : String

Méthodes protégées

Méthode Description
GetMethodImpl ( String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type types, ParameterModifier modifiers ) : MethodInfo

Private Methods

Méthode Description
ConvertToTypeHandleArray ( Type genericArguments ) : RuntimeTypeHandle[]
GetAssemblyInternal ( ) : Assembly
GetHINSTANCE ( ) : IntPtr
GetModuleHandle ( ) : ModuleHandle
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetType ( String className ) : Type
GetType ( String className, bool ignoreCase ) : Type
GetType ( String className, bool throwOnError, bool ignoreCase ) : Type
GetTypeInternal ( String className, bool ignoreCase, bool throwOnError ) : Type
GetTypesInternal ( StackCrawlMark &stackMark ) : Type[]
InternalAddResource ( String strName, byte resBytes, int resByteCount, int tkFile, int attribute, int portableExecutableKind, int imageFileMachine ) : void
InternalGetField ( String name, BindingFlags bindingAttr ) : FieldInfo
InternalGetFullyQualifiedName ( ) : String
InternalGetMemberRef ( Module refedModule, int tr, int defToken ) : int
InternalGetMemberRefFromSignature ( int tr, String methodName, byte signature, int length ) : int
InternalGetMemberRefOfFieldInfo ( int tkType, RuntimeTypeHandle declaringType, int tkField ) : int
InternalGetMemberRefOfMethodInfo ( int tr, RuntimeMethodHandle method ) : int
InternalGetName ( ) : String
InternalGetStringConstant ( String str ) : int
InternalGetTypeSpecTokenWithBytes ( byte signature, int length ) : int
InternalGetTypeToken ( String strFullName, Module refedModule, String strRefedModuleFileName, int tkResolution ) : int
InternalLoadInMemoryTypeByName ( String className ) : Type
InternalPreSavePEFile ( int portableExecutableKind, int imageFileMachine ) : void
InternalSavePEFile ( String fileName, MethodToken entryPoint, int isExe, bool isManifestFile ) : void
InternalSetFieldRVAContent ( int fdToken, byte data, int length ) : void
InternalSetModuleProps ( String strModuleName ) : void
InternalSetResourceCounts ( int resCount ) : void
IsDynamic ( ) : bool
IsResourceInternal ( ) : bool
Module ( ) : System
ResolveLiteralField ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : FieldInfo
_InternalGetMemberRefOfFieldInfo ( int tkType, IntPtr interfaceHandle, int tkField ) : int
_InternalGetMemberRefOfMethodInfo ( int tr, IntPtr method ) : int
_InternalSavePEFile ( String fileName, int entryPoint, int isExe, bool isManifestFile ) : void
_Module ( [ riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId ) : void
_Module ( uint &pcTInfo ) : void
_Module ( uint dispIdMember, [ riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr ) : void
_Module ( uint iTInfo, uint lcid, IntPtr ppTInfo ) : void
nativeGetArrayMethodToken ( int tkTypeSpec, String methodName, byte signature, int sigLength, int baseToken ) : int

Method Details

FindTypes() public méthode

public FindTypes ( TypeFilter filter, Object filterCriteria ) : Type[]
filter TypeFilter
filterCriteria Object
Résultat Type[]

GetCustomAttributes() public méthode

public GetCustomAttributes ( Type attributeType, bool inherit ) : Object[]
attributeType Type
inherit bool
Résultat Object[]

GetCustomAttributes() public méthode

public GetCustomAttributes ( bool inherit ) : Object[]
inherit bool
Résultat Object[]

GetField() public méthode

public GetField ( String name ) : FieldInfo
name String
Résultat FieldInfo

GetField() public méthode

public GetField ( String name, BindingFlags bindingAttr ) : FieldInfo
name String
bindingAttr BindingFlags
Résultat FieldInfo

GetFields() public méthode

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

GetFields() public méthode

public GetFields ( BindingFlags bindingFlags ) : System.Reflection.FieldInfo[]
bindingFlags BindingFlags
Résultat System.Reflection.FieldInfo[]

GetMethod() public méthode

public GetMethod ( String name ) : MethodInfo
name String
Résultat MethodInfo

GetMethod() public méthode

public GetMethod ( 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
Résultat MethodInfo

GetMethod() public méthode

public GetMethod ( String name, Type types ) : MethodInfo
name String
types Type
Résultat MethodInfo

GetMethodImpl() protected méthode

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

GetMethods() public méthode

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

GetMethods() public méthode

public GetMethods ( BindingFlags bindingFlags ) : System.Reflection.MethodInfo[]
bindingFlags BindingFlags
Résultat System.Reflection.MethodInfo[]

GetPEKind() public méthode

public GetPEKind ( PortableExecutableKinds &peKind, ImageFileMachine &machine ) : void
peKind PortableExecutableKinds
machine ImageFileMachine
Résultat void

GetTypes() public méthode

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

IsDefined() public méthode

public IsDefined ( Type attributeType, bool inherit ) : bool
attributeType Type
inherit bool
Résultat bool

IsResource() public méthode

public IsResource ( ) : bool
Résultat bool

ResolveField() public méthode

public ResolveField ( int metadataToken ) : FieldInfo
metadataToken int
Résultat FieldInfo

ResolveField() public méthode

public ResolveField ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : FieldInfo
metadataToken int
genericTypeArguments Type
genericMethodArguments Type
Résultat FieldInfo

ResolveMember() public méthode

public ResolveMember ( int metadataToken ) : MemberInfo
metadataToken int
Résultat MemberInfo

ResolveMember() public méthode

public ResolveMember ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : MemberInfo
metadataToken int
genericTypeArguments Type
genericMethodArguments Type
Résultat MemberInfo

ResolveMethod() public méthode

public ResolveMethod ( int metadataToken ) : MethodBase
metadataToken int
Résultat MethodBase

ResolveMethod() public méthode

public ResolveMethod ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : MethodBase
metadataToken int
genericTypeArguments Type
genericMethodArguments Type
Résultat MethodBase

ResolveSignature() public méthode

public ResolveSignature ( int metadataToken ) : byte[]
metadataToken int
Résultat byte[]

ResolveString() public méthode

public ResolveString ( int metadataToken ) : string
metadataToken int
Résultat string

ResolveType() public méthode

public ResolveType ( int metadataToken ) : Type
metadataToken int
Résultat Type

ResolveType() public méthode

public ResolveType ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : Type
metadataToken int
genericTypeArguments Type
genericMethodArguments Type
Résultat Type

ToString() public méthode

public ToString ( ) : String
Résultat String

Property Details

FilterTypeName public_oe static_oe property

public static TypeFilter FilterTypeName
Résultat TypeFilter

FilterTypeNameIgnoreCase public_oe static_oe property

public static TypeFilter FilterTypeNameIgnoreCase
Résultat TypeFilter