Method CompareValues
CompareValues(T, T)
Returns -1 if first is less than second. Default
impl to assume the type implements and
invoke ; be sure to override this method if
your FieldComparer's type isn't a or
if your values may sometimes be null
Declaration
public virtual int CompareValues(T first, T second)
Parameters
Type |
Name |
Description |
T |
first |
|
T |
second |
|
Returns
Type |
Description |
System.Int32 |
|
CompareValues(Object, Object)
Returns -1 if first is less than second. Default
impl to assume the type implements and
invoke ; be sure to override this method if
your FieldComparer's type isn't a or
if your values may sometimes be null
Declaration
public override int CompareValues(object first, object second)
Parameters
Type |
Name |
Description |
System.Object |
first |
|
System.Object |
second |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides