Table of Contents

Method Render

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)

Renders the sort to a BsonDocument.

public override BsonDocument Render(IBsonSerializer<TDocument> documentSerializer, IBsonSerializerRegistry serializerRegistry, LinqProvider linqProvider)

Parameters

documentSerializer IBsonSerializer<TDocument>

The document serializer.

serializerRegistry IBsonSerializerRegistry

The serializer registry.

linqProvider LinqProvider

The LINQ provider.

Returns

BsonDocument

A BsonDocument.