Table of Contents

Struct ShapeShiftSerializer<TEncoder, TDecoder>.DisposableSerializationContext

Namespace
ShapeShift
Assembly
ShapeShift.dll

A wrapper around SerializationContext<TEncoder, TDecoder> that makes disposal easier.

protected struct ShapeShiftSerializer<TEncoder, TDecoder>.DisposableSerializationContext : IDisposable
Implements
Inherited Members

Constructors

DisposableSerializationContext(SerializationContext<TEncoder, TDecoder>)

A wrapper around SerializationContext<TEncoder, TDecoder> that makes disposal easier.

public DisposableSerializationContext(SerializationContext<TEncoder, TDecoder> context)

Parameters

context SerializationContext<TEncoder, TDecoder>

The SerializationContext<TEncoder, TDecoder> to wrap.

Properties

Value

public SerializationContext<TEncoder, TDecoder> Value { get; }

Property Value

SerializationContext<TEncoder, TDecoder>

Methods

Dispose()

Disposes of any resources held by the serialization context.

public void Dispose()