Class GuidComparerAscending
Implements
Inherited Members
Namespace: Tenray.ZoneTree.Comparers
Assembly: ZoneTree.dll
Syntax
public sealed class GuidComparerAscending : IRefComparer<Guid>
Methods
| Improve this Doc View SourceCompare(in Guid, in Guid)
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Declaration
public int Compare(in Guid x, in Guid y)
Parameters
Type | Name | Description |
---|---|---|
Guid | x | The first key |
Guid | y | The second key |
Returns
Type | Description |
---|---|
int | -1 (x < y), 0 (x == y) or 1 (x > y) |