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