Constructor JsonProjectionDefinition
JsonProjectionDefinition(string, IBsonSerializer<TProjection>)
Initializes a new instance of the BsonDocumentSortDefinition<TDocument> class.
public JsonProjectionDefinition(string json, IBsonSerializer<TProjection> projectionSerializer = null)
Parameters
json
stringThe json.
projectionSerializer
IBsonSerializer<TProjection>The projection serializer.