Table of Contents

Class BsonValueCSharpNullArrayAndDocumentSerializer<TBsonValue>

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

Represents a serializer for a BsonValue that can round trip C# null and implements IBsonArraySerializer and IBsonDocumentSerializer.

public sealed class BsonValueCSharpNullArrayAndDocumentSerializer<TBsonValue> : BsonValueCSharpNullSerializer<TBsonValue>, IBsonSerializer<TBsonValue>, IBsonArraySerializer, IBsonDocumentSerializer, IBsonSerializer where TBsonValue : BsonValue

Type Parameters

TBsonValue

The type of the bson value.

Inheritance
SerializerBase<TBsonValue>
BsonValueCSharpNullArrayAndDocumentSerializer<TBsonValue>
Implements
IBsonSerializer<TBsonValue>
Inherited Members
Extension Methods

Constructors

BsonValueCSharpNullArrayAndDocumentSerializer(IBsonSerializer<TBsonValue>)

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

Methods

TryGetItemSerializationInfo(out BsonSerializationInfo)

Tries to get the serialization info for the individual items of the array.

TryGetMemberSerializationInfo(string, out BsonSerializationInfo)

Tries to get the serialization info for a member.