public int CompareTo(Length other) { return(Arbitrary.CompareTo(other.Arbitrary)); }
public int CompareTo(Money other) { return(Arbitrary.CompareTo(other.Arbitrary)); }
public int CompareTo(DataSize other) { return(Arbitrary.CompareTo(other.Arbitrary)); }
/// <summary> /// Compares the <see cref="Angle"/> to another <see cref="Angle"/> by their <see cref="Arbitrary"/> value. /// </summary> /// <param name="other">The other <see cref="Angle"/> to compare to.</param> /// <returns>a negative value if this is lower, positive if this is higher, or 0 if they are equal.</returns> public int CompareTo(Angle other) { return(Arbitrary.CompareTo(other.Arbitrary)); }