-
Notifications
You must be signed in to change notification settings - Fork 14
/
ChainedConverterExceptionEventArgs.cs
43 lines (33 loc) · 1.28 KB
/
ChainedConverterExceptionEventArgs.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Windows.Data;
namespace QuickConverter
{
public class ChainedConverterExceptionEventArgs : QuickConverterEventArgs
{
public override QuickConverterEventType Type { get { return QuickConverterEventType.ChainedConverterException; } }
public IValueConverter ChainedConverter { get; private set; }
public object InputValue { get; private set; }
public Type TargetType { get; private set; }
public object Parameter { get; private set; }
public CultureInfo Culture { get; private set; }
public bool ConvertingBack { get; private set; }
public object ParentConverter { get; private set; }
public Exception Exception { get; private set; }
internal ChainedConverterExceptionEventArgs(string expression, object inputValue, Type targetType, object parameter, CultureInfo culture, bool convertingBack, IValueConverter chainedConverter, object parentConverter, Exception exception)
: base(expression)
{
InputValue = inputValue;
TargetType = targetType;
Parameter = parameter;
Culture = culture;
ConvertingBack = convertingBack;
ChainedConverter = chainedConverter;
ParentConverter = parentConverter;
Exception = exception;
}
}
}