Method ThenByIdentityDescending
- Namespace
- SodaFlow.Collections
- Assembly
- SodaFlow.Core.Collections.dll
ThenByIdentityDescending<TSortKey>(Func<TIdentity, TSortKey>)
This order, with a second level for keys with equal sort values, descending, by a value from the immutable part of each item only.
public KeyOrder<TKey, TIdentity, TState> ThenByIdentityDescending<TSortKey>(Func<TIdentity, TSortKey> selector)
Parameters
selectorFunc<TIdentity, TSortKey>Projects the next level's sort value from an identity.
Returns
- KeyOrder<TKey, TIdentity, TState>
The refined order. This order does not change, and other code can use it alone.
Type Parameters
TSortKeyThe type of the projected sort value.