Daniel's XL Toolbox NG
Bovender.Mvvm.Converters.SimpleExceptionConverter Class Reference

WPF converter that produces a simple text string from an exception. More...

Inheritance diagram for Bovender.Mvvm.Converters.SimpleExceptionConverter:
Collaboration diagram for Bovender.Mvvm.Converters.SimpleExceptionConverter:

Public Member Functions

object Convert (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
 
object ConvertBack (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
 
object Convert (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
 
object ConvertBack (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
 

Detailed Description

WPF converter that produces a simple text string from an exception.

The built-in conversion of the WPF uses the ToString() method of the exceptions, which creates unwieldy long strings. This converter simply returns the normal human-friendly exception message.

Member Function Documentation

◆ Convert() [1/2]

object Bovender.Mvvm.Converters.SimpleExceptionConverter.Convert ( object  value,
Type  targetType,
object  parameter,
System.Globalization.CultureInfo  culture 
)
inline

◆ Convert() [2/2]

object Bovender.Mvvm.Converters.SimpleExceptionConverter.Convert ( object  value,
Type  targetType,
object  parameter,
System.Globalization.CultureInfo  culture 
)
inline

◆ ConvertBack() [1/2]

object Bovender.Mvvm.Converters.SimpleExceptionConverter.ConvertBack ( object  value,
Type  targetType,
object  parameter,
System.Globalization.CultureInfo  culture 
)
inline

◆ ConvertBack() [2/2]

object Bovender.Mvvm.Converters.SimpleExceptionConverter.ConvertBack ( object  value,
Type  targetType,
object  parameter,
System.Globalization.CultureInfo  culture 
)
inline

The documentation for this class was generated from the following file: