示例#1
0
        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();
        }
示例#2
0
 public async Task SomethingChangedFunction()
 {
     //StringsToEnumConverter();
     OutputValue = AngleUnitConverter.Convert(InputValue, (AngleUnits)SelectedInputUnit.Id, (AngleUnits)SelectedOutputUnit.Id);
 }