Table of Contents

Struct BsonCodecProgram<T>

Namespace
Shard.Codecs.Bson
Assembly
Shard.Codecs.dll

Pairs direct BSON reader and writer programs with the fixed framing of their public root.

public readonly struct BsonCodecProgram<T>

Type Parameters

T
Inherited Members

Constructors

BsonCodecProgram(BsonRead<T>, BsonWrite<T>, BsonRootKind)

public BsonCodecProgram(BsonRead<T> read, BsonWrite<T> write, BsonRootKind rootKind)

Parameters

read BsonRead<T>
write BsonWrite<T>
rootKind BsonRootKind

Properties

RootKind

public BsonRootKind RootKind { get; }

Property Value

BsonRootKind