Table of Contents

Constructor BsonDocumentBackedClass

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

BsonDocumentBackedClass(IBsonDocumentSerializer)

Initializes a new instance of the BsonDocumentBackedClass class.

protected BsonDocumentBackedClass(IBsonDocumentSerializer serializer)

Parameters

serializer IBsonDocumentSerializer

The serializer.

BsonDocumentBackedClass(BsonDocument, IBsonDocumentSerializer)

Initializes a new instance of the BsonDocumentBackedClass class.

protected BsonDocumentBackedClass(BsonDocument backingDocument, IBsonDocumentSerializer serializer)

Parameters

backingDocument BsonDocument

The backing document.

serializer IBsonDocumentSerializer

The serializer.