Class SortDefinition<TDocument>
Base class for sorts.
public abstract class SortDefinition<TDocument>
Type Parameters
TDocument
The type of the document.
- Inheritance
-
SortDefinition<TDocument>
- Derived
- Inherited Members
- Extension Methods
Methods
- Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry)
Renders the sort to a BsonDocument.
- Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)
Renders the sort to a BsonDocument.
Operators
- implicit operator SortDefinition<TDocument>(BsonDocument)
Performs an implicit conversion from BsonDocument to SortDefinition<TDocument>.
- implicit operator SortDefinition<TDocument>(string)
Performs an implicit conversion from string to SortDefinition<TDocument>.