Table of Contents

Class BsonValueSerializerBase<TBsonValue>

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

Represents a base class for BsonValue serializers.

public abstract class BsonValueSerializerBase<TBsonValue> : SerializerBase<TBsonValue>, IBsonSerializer<TBsonValue>, IBsonSerializer where TBsonValue : BsonValue

Type Parameters

TBsonValue

The type of the BsonValue.

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

Constructors

BsonValueSerializerBase(BsonType?)

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

Methods

Deserialize(BsonDeserializationContext, BsonDeserializationArgs)

Deserializes a value.

DeserializeValue(BsonDeserializationContext, BsonDeserializationArgs)

Deserializes a value.

Serialize(BsonSerializationContext, BsonSerializationArgs, TBsonValue)

Serializes a value.

SerializeValue(BsonSerializationContext, BsonSerializationArgs, TBsonValue)

Serializes a value.