Volume Control
Application-specific hotkeys for Windows
VolumeControl.WPF.Collections.ObservableImmutableListExtension_Sort Class Reference

Extends the ObservableImmutableList<T> class with sorting methods. More...

Collaboration diagram for VolumeControl.WPF.Collections.ObservableImmutableListExtension_Sort:

Static Public Member Functions

static void Sort< T > (this ObservableImmutableList< T > observableImmutableList)
 Sorts the list using the IComparable.CompareTo(object?) method. More...
 
static void Sort< T > (this ObservableImmutableList< T > observableImmutableList, IComparer< T > comparer)
 Sorts the list using the specified comparer . More...
 

Detailed Description

Extends the ObservableImmutableList<T> class with sorting methods.

Member Function Documentation

◆ Sort< T >() [1/2]

static void VolumeControl.WPF.Collections.ObservableImmutableListExtension_Sort.Sort< T > ( this ObservableImmutableList< T >  observableImmutableList)
static

Sorts the list using the IComparable.CompareTo(object?) method.

Template Parameters
TType of object contained by the list. It must implement IComparable<T>.
Parameters
observableImmutableList(implicit) The ObservableImmutableList<T> instance to sort.
Type Constraints
T :IComparable 

◆ Sort< T >() [2/2]

static void VolumeControl.WPF.Collections.ObservableImmutableListExtension_Sort.Sort< T > ( this ObservableImmutableList< T >  observableImmutableList,
IComparer< T >  comparer 
)
static

Sorts the list using the specified comparer .

Template Parameters
TType of object contained by the list.
Parameters
observableImmutableList(implicit) The ObservableImmutableList<T> instance to sort.
comparerA comparer object to use when sorting the list.

References VolumeControl.WPF.Collections.ObservableImmutableList< T >.IndexOf(), and VolumeControl.WPF.Collections.ObservableImmutableList< T >.Move().

Here is the call graph for this function:

The documentation for this class was generated from the following file: