[]
Represents a sorted IIndexedSource<T>.
public class Ordering<T> : IIndexedSource<T>, IEnumerable<T>, IEnumerable
Name | Description |
---|---|
T | The type of the elements of the collection. |
An Ordering<T> can be obtained as a result of an OrderBy or OrderByDescending query operator. Query operators (extension methods) ThenBy and ThenByDescending operate on objects of type Ordering<T>.
Name | Description |
---|---|
GetEnumerator() | Returns an enumerator that iterates through the Ordering<T>. |
ThenByDescending<TKey>(Expression<Func<T, TKey>>) | Performs a subsequent ordering of the elements in a collection in descending order according to a key. |
ThenBy<TKey>(Expression<Func<T, TKey>>) | Performs a subsequent ordering of the elements in a collection in ascending order according to a key. |