C# Класс IKVM.Reflection.Module

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

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

Метод Описание
FindTypes ( TypeFilter filter, object filterCriteria ) : Type[]
GetCustomAttributesData ( ) : IList
GetField ( string name ) : IKVM.Reflection.FieldInfo
GetField ( string name, BindingFlags bindingFlags ) : IKVM.Reflection.FieldInfo
GetFields ( ) : IKVM.Reflection.FieldInfo[]
GetFields ( BindingFlags bindingFlags ) : IKVM.Reflection.FieldInfo[]
GetMethod ( string name ) : IKVM.Reflection.MethodInfo
GetMethod ( string name, BindingFlags bindingAttr, IKVM.Reflection.Binder binder, CallingConventions callConv, Type types, IKVM.Reflection.ParameterModifier modifiers ) : IKVM.Reflection.MethodInfo
GetMethod ( string name, Type types ) : IKVM.Reflection.MethodInfo
GetMethods ( ) : IKVM.Reflection.MethodInfo[]
GetMethods ( BindingFlags bindingFlags ) : IKVM.Reflection.MethodInfo[]
GetPEKind ( PortableExecutableKinds &peKind, ImageFileMachine &machine ) : void
GetSignerCertificate ( ) : System.Security.Cryptography.X509Certificates.X509Certificate
GetType ( string className ) : Type
GetType ( string className, bool ignoreCase ) : Type
GetType ( string className, bool throwOnError, bool ignoreCase ) : Type
GetTypes ( ) : Type[]
IsDefined ( Type attributeType, bool inherit ) : bool
IsResource ( ) : bool
ResolveField ( int metadataToken ) : IKVM.Reflection.FieldInfo
ResolveField ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : IKVM.Reflection.FieldInfo
ResolveMember ( int metadataToken ) : IKVM.Reflection.MemberInfo
ResolveMember ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : IKVM.Reflection.MemberInfo
ResolveMethod ( int metadataToken ) : IKVM.Reflection.MethodBase
ResolveMethod ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : IKVM.Reflection.MethodBase
ResolveSignature ( int metadataToken ) : byte[]
ResolveString ( int metadataToken ) : string
ResolveType ( int metadataToken ) : Type
ResolveType ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : Type
__EnumerateCustomAttributeTable ( ) : IEnumerable
__GetCustomAttributes ( Type attributeType, bool inherit ) : IList
__GetDataDirectoryEntry ( int index, int &rva, int &length ) : void
__GetExportedTypes ( ) : Type[]
__GetPlaceholderAssemblyCustomAttributes ( bool multiple, bool security ) : IList
__GetReferencedAssemblies ( ) : IKVM.Reflection.AssemblyName[]
__GetReferencedModules ( ) : string[]
__GetReferencedTypes ( ) : Type[]
__GetSectionInfo ( int rva, string &name, int &characteristics ) : bool
__GetSectionInfo ( int rva, string &name, int &characteristics, int &virtualAddress, int &virtualSize, int &pointerToRawData, int &sizeOfRawData ) : bool
__ReadDataFromRVA ( int rva, byte data, int offset, int length ) : int
__RelativeVirtualAddressToFileOffset ( int rva ) : long
__ResolveOptionalParameterTypes ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments, CustomModifiers &customModifiers ) : Type[]
__ResolveReferencedAssemblies ( Assembly assemblies ) : void
__ResolveStandAloneMethodSig ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : IKVM.Reflection.__StandAloneMethodSig
__ResolveTypeSpecCustomModifiers ( int typeSpecToken, Type genericTypeArguments, Type genericMethodArguments ) : CustomModifiers
__TryGetImplMap ( int token, ImplMapFlags &mappingFlags, string &importName, string &importScope ) : bool

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

Метод Описание
GetDllCharacteristicsImpl ( ) : DllCharacteristics
GetFileAlignmentImpl ( ) : int
GetImageBaseImpl ( ) : long
GetStackReserveImpl ( ) : long
Module ( IKVM.Reflection.Universe universe ) : System

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

Метод Описание
Dispose ( ) : void
ExportTypes ( int fileToken, IKVM manifestModule ) : void
FindType ( TypeName name ) : Type
FindTypeIgnoreCase ( TypeName lowerCaseName ) : Type
GetBlob ( int blobIndex ) : IKVM.Reflection.Reader.ByteReader
GetDeclarativeSecurity ( int metadataToken ) : IList
GetGuid ( int guidIndex ) : System.Guid
GetModuleType ( ) : Type
GetString ( int index ) : string
GetTables ( ) : Table[]
GetTypesImpl ( List list ) : void
ResolveType ( int metadataToken, IGenericContext context ) : Type
__GetCustomAttributesFor ( int token ) : List
__ResolveOptionalParameterTypes ( int metadataToken ) : Type[]

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

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

public FindTypes ( TypeFilter filter, object filterCriteria ) : Type[]
filter TypeFilter
filterCriteria object
Результат Type[]

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

public GetCustomAttributesData ( ) : IList
Результат IList

GetDllCharacteristicsImpl() защищенный абстрактный метод

protected abstract GetDllCharacteristicsImpl ( ) : DllCharacteristics
Результат DllCharacteristics

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

public GetField ( string name ) : IKVM.Reflection.FieldInfo
name string
Результат IKVM.Reflection.FieldInfo

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

public GetField ( string name, BindingFlags bindingFlags ) : IKVM.Reflection.FieldInfo
name string
bindingFlags BindingFlags
Результат IKVM.Reflection.FieldInfo

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

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

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

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

GetFileAlignmentImpl() защищенный абстрактный метод

protected abstract GetFileAlignmentImpl ( ) : int
Результат int

GetImageBaseImpl() защищенный абстрактный метод

protected abstract GetImageBaseImpl ( ) : long
Результат long

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

public GetMethod ( string name ) : IKVM.Reflection.MethodInfo
name string
Результат IKVM.Reflection.MethodInfo

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

public GetMethod ( string name, BindingFlags bindingAttr, IKVM.Reflection.Binder binder, CallingConventions callConv, Type types, IKVM.Reflection.ParameterModifier modifiers ) : IKVM.Reflection.MethodInfo
name string
bindingAttr BindingFlags
binder IKVM.Reflection.Binder
callConv CallingConventions
types Type
modifiers IKVM.Reflection.ParameterModifier
Результат IKVM.Reflection.MethodInfo

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

public GetMethod ( string name, Type types ) : IKVM.Reflection.MethodInfo
name string
types Type
Результат IKVM.Reflection.MethodInfo

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

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

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

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

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

public GetPEKind ( PortableExecutableKinds &peKind, ImageFileMachine &machine ) : void
peKind PortableExecutableKinds
machine ImageFileMachine
Результат void

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

public GetSignerCertificate ( ) : System.Security.Cryptography.X509Certificates.X509Certificate
Результат System.Security.Cryptography.X509Certificates.X509Certificate

GetStackReserveImpl() защищенный абстрактный метод

protected abstract GetStackReserveImpl ( ) : long
Результат long

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

public GetType ( string className ) : Type
className string
Результат Type

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

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

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

public GetType ( string className, bool throwOnError, bool ignoreCase ) : Type
className string
throwOnError bool
ignoreCase bool
Результат Type

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

public GetTypes ( ) : Type[]
Результат Type[]

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

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

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

public IsResource ( ) : bool
Результат bool

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

protected Module ( IKVM.Reflection.Universe universe ) : System
universe IKVM.Reflection.Universe
Результат System

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

public ResolveField ( int metadataToken ) : IKVM.Reflection.FieldInfo
metadataToken int
Результат IKVM.Reflection.FieldInfo

ResolveField() публичный абстрактный метод

public abstract ResolveField ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : IKVM.Reflection.FieldInfo
metadataToken int
genericTypeArguments Type
genericMethodArguments Type
Результат IKVM.Reflection.FieldInfo

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

public ResolveMember ( int metadataToken ) : IKVM.Reflection.MemberInfo
metadataToken int
Результат IKVM.Reflection.MemberInfo

ResolveMember() публичный абстрактный метод

public abstract ResolveMember ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : IKVM.Reflection.MemberInfo
metadataToken int
genericTypeArguments Type
genericMethodArguments Type
Результат IKVM.Reflection.MemberInfo

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

public ResolveMethod ( int metadataToken ) : IKVM.Reflection.MethodBase
metadataToken int
Результат IKVM.Reflection.MethodBase

ResolveMethod() публичный абстрактный метод

public abstract ResolveMethod ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : IKVM.Reflection.MethodBase
metadataToken int
genericTypeArguments Type
genericMethodArguments Type
Результат IKVM.Reflection.MethodBase

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

public ResolveSignature ( int metadataToken ) : byte[]
metadataToken int
Результат byte[]

ResolveString() публичный абстрактный метод

public abstract ResolveString ( int metadataToken ) : string
metadataToken int
Результат string

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

public ResolveType ( int metadataToken ) : Type
metadataToken int
Результат Type

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

public ResolveType ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : Type
metadataToken int
genericTypeArguments Type
genericMethodArguments Type
Результат Type

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

public __EnumerateCustomAttributeTable ( ) : IEnumerable
Результат IEnumerable

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

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

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

public __GetDataDirectoryEntry ( int index, int &rva, int &length ) : void
index int
rva int
length int
Результат void

__GetExportedTypes() публичный абстрактный метод

public abstract __GetExportedTypes ( ) : Type[]
Результат Type[]

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

public __GetPlaceholderAssemblyCustomAttributes ( bool multiple, bool security ) : IList
multiple bool
security bool
Результат IList

__GetReferencedAssemblies() публичный абстрактный метод

public abstract __GetReferencedAssemblies ( ) : IKVM.Reflection.AssemblyName[]
Результат IKVM.Reflection.AssemblyName[]

__GetReferencedModules() публичный абстрактный метод

public abstract __GetReferencedModules ( ) : string[]
Результат string[]

__GetReferencedTypes() публичный абстрактный метод

public abstract __GetReferencedTypes ( ) : Type[]
Результат Type[]

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

public __GetSectionInfo ( int rva, string &name, int &characteristics ) : bool
rva int
name string
characteristics int
Результат bool

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

public __GetSectionInfo ( int rva, string &name, int &characteristics, int &virtualAddress, int &virtualSize, int &pointerToRawData, int &sizeOfRawData ) : bool
rva int
name string
characteristics int
virtualAddress int
virtualSize int
pointerToRawData int
sizeOfRawData int
Результат bool

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

public __ReadDataFromRVA ( int rva, byte data, int offset, int length ) : int
rva int
data byte
offset int
length int
Результат int

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

public __RelativeVirtualAddressToFileOffset ( int rva ) : long
rva int
Результат long

__ResolveOptionalParameterTypes() публичный абстрактный метод

public abstract __ResolveOptionalParameterTypes ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments, CustomModifiers &customModifiers ) : Type[]
metadataToken int
genericTypeArguments Type
genericMethodArguments Type
customModifiers CustomModifiers
Результат Type[]

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

public __ResolveReferencedAssemblies ( Assembly assemblies ) : void
assemblies Assembly
Результат void

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

public __ResolveStandAloneMethodSig ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : IKVM.Reflection.__StandAloneMethodSig
metadataToken int
genericTypeArguments Type
genericMethodArguments Type
Результат IKVM.Reflection.__StandAloneMethodSig

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

public __ResolveTypeSpecCustomModifiers ( int typeSpecToken, Type genericTypeArguments, Type genericMethodArguments ) : CustomModifiers
typeSpecToken int
genericTypeArguments Type
genericMethodArguments Type
Результат CustomModifiers

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

public __TryGetImplMap ( int token, ImplMapFlags &mappingFlags, string &importName, string &importScope ) : bool
token int
mappingFlags ImplMapFlags
importName string
importScope string
Результат bool