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