Skip to content
Riaan Hanekom edited this page Mar 10, 2013 · 4 revisions

The ISortable Interface

public interface ISortable<T>
{
    // Methods
    void Sort(ISorter<T> sorter);
    void Sort(ISorter<T> sorter, IComparer<T> comparer);
    void Sort(ISorter<T> sorter, Comparison<T> comparison);
}

The ISortable interface works hand in hand with the [ISorter ISorter] interface, providing collections not implementing IList to be sortable using an ISorter instance.