Пример #1
0
 private string Message(object value, Type targetType, object parameter, CultureInfo culture, [CallerMemberName] string methodName = null)
 => $"{Title}.{methodName}({StaticMethodsOfConverters.ToString(value, culture)}, {targetType}), {StaticMethodsOfConverters.ToString(parameter, culture)}, {culture}";
Пример #2
0
 public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
 {
     Debug.WriteLine($"{GetType()}.{nameof(ConvertBack)}({StaticMethodsOfConverters.ToString(value, culture)}, {targetType}), {StaticMethodsOfConverters.ToString(parameter, culture)}, {culture}");
     return(value);
 }