Method Render
Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry)
Renders the sort to a Bson
public virtual BsonDocument Render(IBsonSerializer<TDocument> documentSerializer, IBsonSerializerRegistry serializerRegistry)
Parameters
documentSerializer
IBsonSerializer <TDocument>The document serializer.
serializerRegistry
IBsonSerializer Registry The serializer registry.
Returns
Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)
Renders the sort to a Bson
public abstract BsonDocument Render(IBsonSerializer<TDocument> documentSerializer, IBsonSerializerRegistry serializerRegistry, LinqProvider linqProvider)
Parameters
documentSerializer
IBsonSerializer <TDocument>The document serializer.
serializerRegistry
IBsonSerializer Registry The serializer registry.
linqProvider
LinqProvider The LINQ provider.