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