C# Class BelhardTraining.LessonMultithreading.ListViewColumnSorter

This class is an implementation of the 'IComparer' interface.
Inheritance: IComparer
Datei anzeigen Open project: bazile/Training

Public Methods

Method Description
Compare ( object x, object y ) : int

This method is inherited from the IComparer interface. It compares the two objects passed using a case insensitive comparison.

ListViewColumnSorter ( ) : System

Class constructor. Initializes various elements

Private Methods

Method Description
CompareNumbers ( System.Windows.Forms.ListViewItem itemX, System.Windows.Forms.ListViewItem itemY ) : int
CompareText ( System.Windows.Forms.ListViewItem itemX, System.Windows.Forms.ListViewItem itemY ) : int

Method Details

Compare() public method

This method is inherited from the IComparer interface. It compares the two objects passed using a case insensitive comparison.
public Compare ( object x, object y ) : int
x object First object to be compared
y object Second object to be compared
return int

ListViewColumnSorter() public method

Class constructor. Initializes various elements
public ListViewColumnSorter ( ) : System
return System