Table of Contents

Class ObjectSortDefinition<TDocument>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

An Object based sort.

public sealed class ObjectSortDefinition<TDocument> : SortDefinition<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
SortDefinition<TDocument>
ObjectSortDefinition<TDocument>
Inherited Members
Extension Methods

Constructors

ObjectSortDefinition(object)

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

Properties

Object

Gets the object.

Methods

Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)

Renders the sort to a BsonDocument.