C# Класс System.Waf.Foundation.DataErrorInfoSupport

This class provides an implementation for the IDataErrorInfo interface which uses the validation classes found in the System.ComponentModel.DataAnnotations namespace.
Наследование: IDataErrorInfo
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
DataErrorInfoSupport ( object instance ) : System.Linq

Initializes a new instance of the DataErrorInfoSupport class.

this ( string memberName ) : string

Gets the error message for the property with the given name.

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

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

Initializes a new instance of the DataErrorInfoSupport class.
instance must not be null.
public DataErrorInfoSupport ( object instance ) : System.Linq
instance object The instance.
Результат System.Linq

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

Gets the error message for the property with the given name.
public this ( string memberName ) : string
memberName string The name of the property whose error message to get.
Результат string