Table of Contents

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

selector Func<TIdentity, TState, TSortKey>

Projects the sort value from an item.

Returns

KeyOrder<TKey, TIdentity, TState>

The order.

Type Parameters

TSortKey

The type of the projected sort value.