public async Task OutputValueChanged() { if (OutputValue == StressUnitConverter.Convert(InputValue, (StressUnits)SelectedInputUnit.Id, (StressUnits)SelectedOutputUnit.Id)) { //do nothing } else { InputValue = StressUnitConverter.Convert(OutputValue, (StressUnits)SelectedOutputUnit.Id, (StressUnits)SelectedInputUnit.Id); } //throw new System.NotImplementedException(); }
public async Task SomethingChangedFunction() { //StringsToEnumConverter(); OutputValue = StressUnitConverter.Convert(InputValue, (StressUnits)SelectedInputUnit.Id, (StressUnits)SelectedOutputUnit.Id); }