TessaCompilationObjectCacheDependencyComparerCompare - метод

When overridden in a derived class, performs a comparison of two objects of the same type and returns a value indicating whether one object is less than, equal to, or greater than the other.

Definition

Пространство имён: Tessa.Compilation
Сборка: Tessa (в Tessa.dll) Версия: 4.0.4
C#
public override int Compare(
	ITessaCompilationObjectCacheCore? x,
	ITessaCompilationObjectCacheCore? y
)

Параметры

x  ITessaCompilationObjectCacheCore
The first object to compare.
y  ITessaCompilationObjectCacheCore
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)

Исключения

ArgumentExceptionType T does not implement either the IComparableT generic interface or the IComparable interface.

См. также