Constructor RenderedProjectionDefinition

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

RenderedProjectionDefinition(BsonDocument, IBsonSerializer)

Initializes a new instance of the RenderedProjectionDefinition class.

public RenderedProjectionDefinition(BsonDocument document, IBsonSerializer<TProjection> projectionSerializer)

Parameters

document BsonDocument

The document.

projectionSerializer IBsonSerializer

The projection serializer.