public int Compare(ObjectMeasurement x, ObjectMeasurement y) { var xtoy = _converters.Convert(x, y); if (xtoy > 1) { return(1); } return(-1); }
private double Convert(Question question) { return(_converters.Convert(question.From, question.To, question.FromQuantity)); }