/// <summary> /// Implementation if IComparable /// </summary> /// <param name="other"></param> /// <returns></returns> public Int32 CompareTo(ITinkarId other) { Int32 cmpVal = this.MostSignificantBits.CompareTo(other.MostSignificantBits); if (cmpVal != 0) { return(cmpVal); } return(this.LeastSignificantBits.CompareTo(other.LeastSignificantBits)); }
public Int32 CompareTo(ITinkarId other) => throw new NotImplementedException();
public static ByteString ToByteString(this ITinkarId id) { //# Tested return(ByteString.CopyFrom(id.Uuid.ToByteArray())); }