/// <inheritdoc/> public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) { if (MultiConverter == null) { throw new InvalidOperationException("No multi value converter has been set."); } var result = MultiConverter.Convert(values, MultiConverterTargetType ?? typeof(object), MultiConverterParameter, culture); return(chainedConverter.Convert(result, targetType, parameter, culture)); }
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) { var val1 = System.Convert.ToDouble(MultiConverter.Convert(values, null, null, culture)); return(SingleConverter.Convert(val1, targetType, parameter, culture)); }