Table of Contents

Class BsonValueCSharpNullSerializer<TBsonValue>

Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll

Represents a serializer for a BsonValue that can round trip C# null.

public class BsonValueCSharpNullSerializer<TBsonValue> : SerializerBase<TBsonValue>, IBsonSerializer<TBsonValue>, IBsonSerializer where TBsonValue : BsonValue

Type Parameters

TBsonValue

The type of the BsonValue.

Inheritance
SerializerBase<TBsonValue>
BsonValueCSharpNullSerializer<TBsonValue>
Implements
IBsonSerializer<TBsonValue>
Derived
Inherited Members
Extension Methods

Constructors

BsonValueCSharpNullSerializer(IBsonSerializer<TBsonValue>)

Initializes a new instance of the BsonValueCSharpNullSerializer<TBsonValue> class.

Methods

Deserialize(BsonDeserializationContext, BsonDeserializationArgs)

Deserializes a value.

Serialize(BsonSerializationContext, BsonSerializationArgs, TBsonValue)

Serializes a value.