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