예제 #1
0
 public int CompareTo(Length other)
 {
     return(Arbitrary.CompareTo(other.Arbitrary));
 }
예제 #2
0
 public int CompareTo(Money other)
 {
     return(Arbitrary.CompareTo(other.Arbitrary));
 }
예제 #3
0
 public int CompareTo(DataSize other)
 {
     return(Arbitrary.CompareTo(other.Arbitrary));
 }
예제 #4
0
 /// <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));
 }