Table of Contents

Constructor JsonProjectionDefinition

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

JsonProjectionDefinition(string, IBsonSerializer<TProjection>)

Initializes a new instance of the BsonDocumentSortDefinition<TDocument> class.

public JsonProjectionDefinition(string json, IBsonSerializer<TProjection> projectionSerializer = null)

Parameters

json string

The json.

projectionSerializer IBsonSerializer<TProjection>

The projection serializer.