C# Класс 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.
Наследование: ErrorBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

ConversionError() публичный Метод

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.
Результат System

Equals() публичный Метод

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 .
Результат bool