public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) { if (_convertBack != null) { return(_convertBack.Invoke(value, targetType, parameter, culture)); } throw new NotImplementedException(); }
public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { try { return(convert.Invoke(value, targetType, parameter, culture)); } catch (System.Exception ex) { string title = this.GetType().Name + " - " + System.Reflection.MethodBase.GetCurrentMethod().Name; BalizaFacil.App.Instance.UnhandledException(title, ex); } return(null); }