Method Combine
Combine(params SortDefinition<TDocument>[])
Creates a combined sort.
public SortDefinition<TDocument> Combine(params SortDefinition<TDocument>[] sorts)
Parameters
sorts
SortDefinition<TDocument>[]The sorts.
Returns
- SortDefinition<TDocument>
A combined sort.
Combine(IEnumerable<SortDefinition<TDocument>>)
Creates a combined sort.
public SortDefinition<TDocument> Combine(IEnumerable<SortDefinition<TDocument>> sorts)
Parameters
sorts
IEnumerable<SortDefinition<TDocument>>The sorts.
Returns
- SortDefinition<TDocument>
A combined sort.