Constructor BsonDocumentProjectionDefinition
BsonDocumentProjectionDefinition(BsonDocument, IBsonSerializer<TProjection>)
Initializes a new instance of the BsonDocumentProjectionDefinition<TSource, TProjection> class.
public BsonDocumentProjectionDefinition(BsonDocument document, IBsonSerializer<TProjection> projectionSerializer = null)
Parameters
document
BsonDocumentThe document.
projectionSerializer
IBsonSerializer<TProjection>The projection serializer.