Craig's Utility Library  4.0 Beta
Utilities.DataTypes.Comparison.GenericComparer< T > Class Template Reference

Generic IComparable class More...

Inheritance diagram for Utilities.DataTypes.Comparison.GenericComparer< T >:

Public Member Functions

int Compare (T x, T y)
 Compares the two objects More...
 

Detailed Description

Generic IComparable class

Template Parameters
TData type
Type Constraints
T :IComparable 

Definition at line 31 of file GenericComparer.cs.

Member Function Documentation

int Utilities.DataTypes.Comparison.GenericComparer< T >.Compare ( x,
y 
)

Compares the two objects

Parameters
xObject 1
yObject 2
Returns
0 if they're equal, any other value they are not

Definition at line 39 of file GenericComparer.cs.


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