/// <summary> /// Compares the specified a with the specified b by binary values. /// </summary> /// <param name="a">One IHasIdentity implementer.</param> /// <param name="b">The other IHasIdentity implementer.</param> /// <returns>-1, 0 or 1, depending on the relationship between a & b.</returns> public int Compare(T a, T b) { return(GuidOps.Compare(a.Guid, b.Guid)); }
/// <summary> /// Compares the specified Guid a with the specified Guid b by binary values. /// </summary> /// <param name="a">One Guid.</param> /// <param name="b">The other Guid.</param> /// <returns>-1, 0 or 1, depending on the relationship between a & b.</returns> public int Compare(Guid a, Guid b) { return(GuidOps.Compare(a, b)); }