Table of Contents

Constructor BsonDocumentProjectionDefinition

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

BsonDocumentProjectionDefinition(BsonDocument, IBsonSerializer<TProjection>)

Initializes a new instance of the BsonDocumentProjectionDefinition<TSource, TProjection> class.

public BsonDocumentProjectionDefinition(BsonDocument document, IBsonSerializer<TProjection> projectionSerializer = null)

Parameters

document BsonDocument

The document.

projectionSerializer IBsonSerializer<TProjection>

The projection serializer.