Class BsonDocumentSortDefinition<TDocument>
A BsonDocument based sort.
public sealed class BsonDocumentSortDefinition<TDocument> : SortDefinition<TDocument>
Type Parameters
TDocument
The type of the document.
- Inheritance
-
SortDefinition<TDocument>BsonDocumentSortDefinition<TDocument>
- Inherited Members
- Extension Methods
Constructors
- BsonDocumentSortDefinition(BsonDocument)
Initializes a new instance of the BsonDocumentSortDefinition<TDocument> class.
Properties
- Document
Gets the document.
Methods
- Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)
Renders the sort to a BsonDocument.