Skip to content

GenericClassField<TValue>.CompareValues method

Compares two values of this field using the specified comparer.

protected virtual int CompareValues(TValue value1, TValue value2, IComparer? comparer)
parameter description
value1 The first value.
value2 The second value.
comparer The comparer, or null to use Comparer.

Return Value

A value indicating the relative order of the two values.

See Also