Struct MessagePackSerializer.DisposableSerializationContext
- Namespace
- Nerdbank.MessagePack
- Assembly
- Nerdbank.MessagePack.dll
A wrapper around SerializationContext that makes disposal easier.
protected struct MessagePackSerializer.DisposableSerializationContext : IDisposable
- Implements
- Inherited Members
Constructors
DisposableSerializationContext(SerializationContext)
A wrapper around SerializationContext that makes disposal easier.
public DisposableSerializationContext(SerializationContext context)
Parameters
context
SerializationContextThe SerializationContext to wrap.
Properties
Value
Gets the actual SerializationContext.
public SerializationContext Value { get; }
Property Value
Methods
Dispose()
Disposes of any resources held by the serialization context.
public void Dispose()