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