Method ByDescending
- Namespace
- SodaFlow.Collections
- Assembly
- SodaFlow.Core.Collections.dll
ByDescending<TSortKey>(Func<TIdentity, TState, TSortKey>)
Orders, descending, by a value projected from each item.
public static KeyOrder<TKey, TIdentity, TState> ByDescending<TSortKey>(Func<TIdentity, TState, TSortKey> selector)
Parameters
selectorFunc<TIdentity, TState, TSortKey>Projects the sort value from an item.
Returns
- KeyOrder<TKey, TIdentity, TState>
The order.
Type Parameters
TSortKeyThe type of the projected sort value.