Table of Contents

Struct BlobSerializationContext

Namespace
AsmResolver.DotNet.Signatures
Assembly
AsmResolver.DotNet.dll

Describes a context in which a blob signature is to be serialized in.

public readonly struct BlobSerializationContext
Inherited Members

Constructors

BlobSerializationContext(BinaryStreamWriter, ITypeCodedIndexProvider, IErrorListener)

Creates a new instance of the BlobSerializationContext class.

public BlobSerializationContext(BinaryStreamWriter writer, ITypeCodedIndexProvider indexProvider, IErrorListener errorListener)

Parameters

writer BinaryStreamWriter

The output stream to write the raw data to.

indexProvider ITypeCodedIndexProvider

The object responsible for obtaining coded indices to types.

errorListener IErrorListener

The object responsible for collecting diagnostic information during the serialization process.

Properties

ErrorListener

Gets the bag used to collect diagnostic information during the serialization process.

public IErrorListener ErrorListener { get; }

Property Value

IErrorListener

IndexProvider

Gets the object responsible for obtaining coded indices to types.

public ITypeCodedIndexProvider IndexProvider { get; }

Property Value

ITypeCodedIndexProvider

Writer

Gets the output stream to write the raw data to.

public BinaryStreamWriter Writer { get; }

Property Value

BinaryStreamWriter