예제 #1
0
 public int /* IComparable<Kilometer> */ CompareTo(Kilometer other)
 {
     return(this.m_value.CompareTo(other.m_value));
 }
예제 #2
0
 public override IQuantity <double> From(IQuantity <double> quantity)
 {
     return(Kilometer.From(quantity));
 }
예제 #3
0
 public bool /* IEquatable<Kilometer> */ Equals(Kilometer other)
 {
     return(this.m_value == other.m_value);
 }