Table of Contents

Method SortByKeyDescending

Namespace
SodaFlow.Collections
Assembly
SodaFlow.Collections.dll

SortByKeyDescending<TKey, TIdentity, TState>(ReactiveCollection<TKey, TIdentity, TState>)

Reorders by key, descending, over any stage.

public static ReactiveCollection<TKey, TIdentity, TState> SortByKeyDescending<TKey, TIdentity, TState>(this ReactiveCollection<TKey, TIdentity, TState> upstream) where TKey : notnull where TIdentity : notnull

Parameters

upstream ReactiveCollection<TKey, TIdentity, TState>

The collection or view to reorder.

Returns

ReactiveCollection<TKey, TIdentity, TState>

A view of upstream ordered by key, descending.

Type Parameters

TKey

The type of the keys.

TIdentity

The type of the immutable part of an item.

TState

The type of the mutable part of an item.