Table of Contents

Class BsonDocumentBackedClassSerializer<TClass>

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

Represents a serializer for TClass (a subclass of BsonDocumentBackedClass).

public abstract class BsonDocumentBackedClassSerializer<TClass> : ClassSerializerBase<TClass>, IBsonSerializer<TClass>, IBsonDocumentSerializer, IBsonSerializer where TClass : BsonDocumentBackedClass

Type Parameters

TClass

The subclass of BsonDocumentBackedClass.

Inheritance
BsonDocumentBackedClassSerializer<TClass>
Implements
Inherited Members
Extension Methods

Constructors

BsonDocumentBackedClassSerializer()

Initializes a new instance of the BsonDocumentBackedClassSerializer<TClass> class.

Methods

CreateInstance(BsonDocument)

Creates the instance.

DeserializeValue(BsonDeserializationContext, BsonDeserializationArgs)

Deserializes a class.

Equals(object)
GetHashCode()
RegisterMember(string, string, IBsonSerializer)

Registers a member.

SerializeValue(BsonSerializationContext, BsonSerializationArgs, TClass)

Serializes a value of type {TValue}.

TryGetMemberSerializationInfo(string, out BsonSerializationInfo)

Tries to get the serialization info for a member.