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