private void compare() { bool lLastOutValue = mValue; mValue = mValuesCompare.compare(mInput1, mInput2); if (lLastOutValue != mValue) { mValueChanged = true; raiseValuesChanged(); } }
public object convertValue(object aValue) { double lValue; try { lValue = Convert.ToDouble(aValue); } catch (Exception lExc) { throw new InvalidOperationException("Value conversion error. " + lExc.Message, lExc); } return(mValuesCompare.compare(lValue, mValue)); }