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
BinaryStreamWriterThe output stream to write the raw data to.
indexProvider
ITypeCodedIndexProviderThe object responsible for obtaining coded indices to types.
errorListener
IErrorListenerThe 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
IndexProvider
Gets the object responsible for obtaining coded indices to types.
public ITypeCodedIndexProvider IndexProvider { get; }
Property Value
Writer
Gets the output stream to write the raw data to.
public BinaryStreamWriter Writer { get; }