 | ProjectionComparerTSource, TKeyCompare Method |
Compares x and y by projecting them to keys and then comparing the keys.
Null values are not projected; they obey the
standard comparer contract such that two null values are equal; any null value is
less than any non-null value.
Namespace:
Koden.Utils
Assembly:
Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntaxpublic int Compare(
TSource x,
TSource y
)
Public Function Compare (
x As TSource,
y As TSource
) As Integer
public:
virtual int Compare(
TSource x,
TSource y
) sealed
abstract Compare :
x : 'TSource *
y : 'TSource -> int
override Compare :
x : 'TSource *
y : 'TSource -> int
Parameters
- x
- Type: TSource
[Missing <param name="x"/> documentation for "M:Koden.Utils.ProjectionComparer`2.Compare(`0,`0)"]
- y
- Type: TSource
[Missing <param name="y"/> documentation for "M:Koden.Utils.ProjectionComparer`2.Compare(`0,`0)"]
Return Value
Type:
Int32[Missing <returns> documentation for "M:Koden.Utils.ProjectionComparer`2.Compare(`0,`0)"]
Implements
IComparerTCompare(T, T)
See Also