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
Afficher le fichier Open project: JDolinger/Watchdog

Méthodes publiques

Méthode 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 méthode

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.
Résultat System

Equals() public méthode

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 .
Résultat bool