object IMultiValueConverter.Convert( object[] values, Type targetType, object parameter, CultureInfo cultureInfo) { var arg1 = XamlUtilities.Convert <T1>(values[0], this); var arg2 = XamlUtilities.Convert <T2>(values[1], this); var arg3 = XamlUtilities.Convert <T3>(values[2], this); var arg4 = XamlUtilities.Convert <T4>(values[3], this); var arg5 = XamlUtilities.Convert <T5>(values[4], this); var param = XamlUtilities.ConvertParam <TParam>( parameter, cultureInfo, this); return(Convert( arg1, arg2, arg3, arg4, arg5, (TParam)param)); }
object IValueConverter.Convert( object value, Type targetType, object parameter, CultureInfo cultureInfo) { var arg1 = XamlUtilities.Convert <T1>(value, this); var param = XamlUtilities.ConvertParam <TParam>( parameter, cultureInfo, this); return(Convert(arg1, (TParam)param)); }