Click or drag to resize

ComparisonBasedComparerTCompare Method

Compares the two passed in elements using the set compareFunc.

Namespace:  SD.Tools.Algorithmia.UtilityClasses
Assembly:  SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.3.3.0 (1.3.18.0209)
Syntax
public override int Compare(
	T x,
	T y
)

Parameters

x
Type: T
The first object to compare.
y
Type: T
The second object to compare.

Return Value

Type: Int32
the result of the compareFunc applied to the two input parameters. If FlipCompareResult is set to true, the result is negated.

Implements

IComparerTCompare(T, T)
See Also