C# Class System.Waf.Foundation.DataErrorInfoExtensions

Extends the IDataErrorInfo interface with new Validation methods.
Mostra file Open project: jbe2277/waf

Public Methods

Method Description
Validate ( this instance ) : string

Validates the specified object.

Validate ( this instance, string memberName ) : string

Validates the specified member of the object.

Method Details

Validate() public static method

Validates the specified object.
The argument instance must not be null.
public static Validate ( this instance ) : string
instance this The object to validate.
return string

Validate() public static method

Validates the specified member of the object.
The argument instance must not be null.
public static Validate ( this instance, string memberName ) : string
instance this The object to validate.
memberName string The name of the member to validate.
return string