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.
Пространство имён: Tessa.CompilationСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public override int Compare(
ITessaCompilationObjectCacheCore? x,
ITessaCompilationObjectCacheCore? y
)
Public Overrides Function Compare (
x As ITessaCompilationObjectCacheCore,
y As ITessaCompilationObjectCacheCore
) As Integer
public:
virtual int Compare(
ITessaCompilationObjectCacheCore^ x,
ITessaCompilationObjectCacheCore^ y
) override
abstract Compare :
x : ITessaCompilationObjectCacheCore *
y : ITessaCompilationObjectCacheCore -> int
override Compare :
x : ITessaCompilationObjectCacheCore *
y : ITessaCompilationObjectCacheCore -> int
- x ITessaCompilationObjectCacheCore
- The first object to compare.
- y ITessaCompilationObjectCacheCore
- The second object to compare.
Int32A 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) ArgumentException | Type T does not implement either the IComparableT generic interface or the IComparable interface. |