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
IBsonDocumentSerializerThe serializer.
BsonDocumentBackedClass(BsonDocument, IBsonDocumentSerializer)
Initializes a new instance of the BsonDocumentBackedClass class.
protected BsonDocumentBackedClass(BsonDocument backingDocument, IBsonDocumentSerializer serializer)
Parameters
backingDocument
BsonDocumentThe backing document.
serializer
IBsonDocumentSerializerThe serializer.