public static Celsius From(ILevel <double> q)
 {
     if (q.Scale.Family != Celsius.Family)
     {
         throw new InvalidOperationException(string.Format("Cannot convert \"{0}\" to \"Celsius\".", q.GetType().Name));
     }
     return(new Celsius(DegCelsius.From(q.NormalizedLevel) + Celsius.Offset));
 }
 public bool /* IEquatable<DegCelsius> */ Equals(DegCelsius other)
 {
     return(this.m_value == other.m_value);
 }
 public override IQuantity <double> From(IQuantity <double> quantity)
 {
     return(DegCelsius.From(quantity));
 }
 public int /* IComparable<DegCelsius> */ CompareTo(DegCelsius other)
 {
     return(this.m_value.CompareTo(other.m_value));
 }
 public Celsius(DegCelsius level)
 {
     m_level = level;
 }