Esempio n. 1
0
        public double Convert(double value, Unit target)
        {
            double result;

            if (TryConvert(value, target, out result))
                return result;

            throw new Exceptions.ConversionException();
        }
Esempio n. 2
0
 public abstract bool TryConvert(double value, Unit target, out double result);