C# Class 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.
Inheritance: IDataErrorInfo
Mostra file Open project: jbe2277/waf Class Usage Examples

Public Methods

Method Description
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.

Method Details

DataErrorInfoSupport() public method

Initializes a new instance of the DataErrorInfoSupport class.
instance must not be null.
public DataErrorInfoSupport ( object instance ) : System.Linq
instance object The instance.
return System.Linq

this() public method

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.
return string