ViewSortingServiceRowComparerCompare - метод

Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

Definition

Пространство имён: Tessa.Views
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public int Compare(
	IReadOnlyList<Object?>? x,
	IReadOnlyList<Object?>? y
)

Параметры

x  IReadOnlyListObject
The first object to compare.
y  IReadOnlyListObject
The second object to compare.

Возвращаемое значение

Int32
A signed integer that indicates the relative values of x and y, as shown in the following table. Value Meaning Less than zero x is less than y. Zero x equals y. Greater than zero x is greater than y.

Реализации

IComparerTCompare(T, T)

См. также