Exemple #1
0
        public int Compare(ObjectMeasurement x, ObjectMeasurement y)
        {
            var xtoy = _converters.Convert(x, y);

            if (xtoy > 1)
            {
                return(1);
            }
            return(-1);
        }
Exemple #2
0
 private double Convert(Question question)
 {
     return(_converters.Convert(question.From, question.To, question.FromQuantity));
 }