C# Class Watchdog.Validation.Core.ConversionError

Represents a Validation Exception thrown by WPF when it is unable to transfer a value from a View element (FrameworkElement in WPF Logical Tree) to its Binding source. It is caught by the ValidationScope and turned added into the scope, ValidationScope.ErrorSource collection so the ViewModel layer of the application is aware of it. This error is similar to a ValidationError regarding its members, except it can also track the invalid data that was entered.
Inheritance: ErrorBase
ファイルを表示 Open project: JDolinger/Watchdog

Public Methods

Method Description
ConversionError ( string fieldKey, string message, object invalidData ) : System

Initializes a new instance of the ConversionError class.

Equals ( object obj ) : bool

Determines whether the specified T:System.Object is equal to the current T:System.Object.

Method Details

ConversionError() public method

Initializes a new instance of the ConversionError class.
public ConversionError ( string fieldKey, string message, object invalidData ) : System
fieldKey string The target binding.
message string The message.
invalidData object The invalid data.
return System

Equals() public method

Determines whether the specified T:System.Object is equal to the current T:System.Object.
public Equals ( object obj ) : bool
obj object The to compare with the current .
return bool