NameComparer Compare Method CleanCode C# Libraries v1.2.03 API
Compares two OnlineFileSystemInfo objects and returns a value indicating whether one is less than, equal to, or greater than the other.

Namespace: CleanCode.IO
Assembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax

public int Compare(
	Object x,
	Object y
)

Return Value

Negative number if x is greater than y. Zero if x equals y. Positive number if x is less than y.

Implements

OnlineIComparer Compare(Object, Object)
Exceptions

ExceptionCondition
OnlineSystem ArgumentExceptionNeither x nor y implements the OnlineIComparable interface or x and y are of different types and neither one can handle comparisons with the other.
See Also