bovender framework
C# framework that implements MVVM and more
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:

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)
 

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.

Definition at line 32 of file SimpleExceptionConverter.cs.


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