Class BsonValueCSharpNullDocumentSerializer

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Bson.Serialization.Serializers

Assembly

MongoDB.Bson.dll

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

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

Type Parameters

TBsonValue

The type of the bson value.

Inheritance

BsonValueCSharpNullDocumentSerializer

Implements

Inherited Members

Extension Methods

Constructors

BsonValueCSharpNullDocumentSerializer(IBsonSerializer)

Initializes a new instance of the BsonValueCSharpNullDocumentSerializer class.

Methods

TryGetMemberSerializationInfo(string, out BsonSerializationInfo)

Tries to get the serialization info for a member.