C# Класс TUP.AsmResolver.NET.BlobHeap

Represents the blob heap stream containing various values of many metadata members.
Наследование: MetaDataStream
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ClearCache ( ) : void
Dispose ( ) : void
GetBlob ( uint index ) : byte[]

Gets the blob value by it's signature/index.

GetBlobIndex ( byte blobValue ) : uint
GetBlobReader ( uint index ) : BlobSignatureReader

Gets the blob value by it's signature/index and creates a binary reader.

GetBlobReader ( uint index, IGenericContext instance ) : BlobSignatureReader

Gets the blob value by it's signature/index and creates a binary reader using a generic instance.

ReadConstantValue ( ElementType type, uint signature ) : object
ReadCustomAttributeSignature ( CustomAttribute parent, uint signature ) : CustomAttributeSignature
ReadGenericArgumentsSignature ( uint signature, IGenericContext context ) : TUP.AsmResolver.NET.Specialized.TypeReference[]
ReadMemberRefSignature ( uint sig, IGenericContext context ) : IMemberSignature
ReadPropertySignature ( uint signature, PropertyDefinition parentProperty ) : PropertySignature
ReadTypeSignature ( uint signature, IGenericContext paramProvider ) : TypeReference
ReadVariableSignature ( uint signature, MethodDefinition parentMethod ) : TUP.AsmResolver.NET.Specialized.MSIL.VariableDefinition[]
TryGetBlobReader ( uint index, BlobSignatureReader &reader ) : bool
TryGetBlobReader ( uint index, IGenericContext instance, BlobSignatureReader &reader ) : bool

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

Метод Описание
AddMissingGenericParameters ( IGenericParamProvider provider, int index ) : void
BlobHeap ( NETHeader netheader, int headeroffset, Structures rawHeader, string name ) : System
Initialize ( ) : void
ReadAllBlobs ( ) : void
Reconstruct ( ) : void

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

ClearCache() публичный Метод

public ClearCache ( ) : void
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

GetBlob() публичный Метод

Gets the blob value by it's signature/index.
public GetBlob ( uint index ) : byte[]
index uint The index or signature to get the blob value from.
Результат byte[]

GetBlobIndex() публичный Метод

public GetBlobIndex ( byte blobValue ) : uint
blobValue byte
Результат uint

GetBlobReader() публичный Метод

Gets the blob value by it's signature/index and creates a binary reader.
public GetBlobReader ( uint index ) : BlobSignatureReader
index uint The index or signature to get the blob value from.
Результат BlobSignatureReader

GetBlobReader() публичный Метод

Gets the blob value by it's signature/index and creates a binary reader using a generic instance.
public GetBlobReader ( uint index, IGenericContext instance ) : BlobSignatureReader
index uint The index or signature to get the blob value from.
instance IGenericContext The generic instance that is being used as a context.
Результат BlobSignatureReader

ReadConstantValue() публичный Метод

public ReadConstantValue ( ElementType type, uint signature ) : object
type ElementType
signature uint
Результат object

ReadCustomAttributeSignature() публичный Метод

public ReadCustomAttributeSignature ( CustomAttribute parent, uint signature ) : CustomAttributeSignature
parent TUP.AsmResolver.NET.Specialized.CustomAttribute
signature uint
Результат TUP.AsmResolver.NET.Specialized.CustomAttributeSignature

ReadGenericArgumentsSignature() публичный Метод

public ReadGenericArgumentsSignature ( uint signature, IGenericContext context ) : TUP.AsmResolver.NET.Specialized.TypeReference[]
signature uint
context IGenericContext
Результат TUP.AsmResolver.NET.Specialized.TypeReference[]

ReadMemberRefSignature() публичный Метод

public ReadMemberRefSignature ( uint sig, IGenericContext context ) : IMemberSignature
sig uint
context IGenericContext
Результат IMemberSignature

ReadPropertySignature() публичный Метод

public ReadPropertySignature ( uint signature, PropertyDefinition parentProperty ) : PropertySignature
signature uint
parentProperty TUP.AsmResolver.NET.Specialized.PropertyDefinition
Результат TUP.AsmResolver.NET.Specialized.PropertySignature

ReadTypeSignature() публичный Метод

public ReadTypeSignature ( uint signature, IGenericContext paramProvider ) : TypeReference
signature uint
paramProvider IGenericContext
Результат TUP.AsmResolver.NET.Specialized.TypeReference

ReadVariableSignature() публичный Метод

public ReadVariableSignature ( uint signature, MethodDefinition parentMethod ) : TUP.AsmResolver.NET.Specialized.MSIL.VariableDefinition[]
signature uint
parentMethod TUP.AsmResolver.NET.Specialized.MethodDefinition
Результат TUP.AsmResolver.NET.Specialized.MSIL.VariableDefinition[]

TryGetBlobReader() публичный Метод

public TryGetBlobReader ( uint index, BlobSignatureReader &reader ) : bool
index uint
reader BlobSignatureReader
Результат bool

TryGetBlobReader() публичный Метод

public TryGetBlobReader ( uint index, IGenericContext instance, BlobSignatureReader &reader ) : bool
index uint
instance IGenericContext
reader BlobSignatureReader
Результат bool