Table of Contents

Class ClassSerializerBase<TValue>

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

Represents an abstract base class for class serializers.

public abstract class ClassSerializerBase<TValue> : SerializerBase<TValue>, IBsonSerializer<TValue>, IBsonSerializer where TValue : class

Type Parameters

TValue

The type of the value.

Inheritance
ClassSerializerBase<TValue>
Implements
Derived
Inherited Members
Extension Methods

Methods

Deserialize(BsonDeserializationContext, BsonDeserializationArgs)

Deserializes a value.

DeserializeValue(BsonDeserializationContext, BsonDeserializationArgs)

Deserializes a class.

GetActualType(BsonDeserializationContext)

Gets the actual type.

Serialize(BsonSerializationContext, BsonSerializationArgs, TValue)

Serializes a value.

SerializeValue(BsonSerializationContext, BsonSerializationArgs, TValue)

Serializes a value of type {TValue}.