Ejemplo n.º 1
0
 public int CompareTo(Length other)
 {
     return(Arbitrary.CompareTo(other.Arbitrary));
 }
Ejemplo n.º 2
0
 public int CompareTo(Money other)
 {
     return(Arbitrary.CompareTo(other.Arbitrary));
 }
Ejemplo n.º 3
0
 public int CompareTo(DataSize other)
 {
     return(Arbitrary.CompareTo(other.Arbitrary));
 }
Ejemplo n.º 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));
 }