Пример #1
0
 public override IQuantity <double> From(IQuantity <double> quantity)
 {
     return(Kilogram.From(quantity));
 }
Пример #2
0
 public bool /* IEquatable<Kilogram> */ Equals(Kilogram other)
 {
     return(this.m_value == other.m_value);
 }
Пример #3
0
 public int /* IComparable<Kilogram> */ CompareTo(Kilogram other)
 {
     return(this.m_value.CompareTo(other.m_value));
 }