C# Class Tortuga.Chain.AuditRules.ValidateWithDataErrorInfo

When this rule is in effect, objects that implement IDataErrorInfo will be checked.
Inheritance: ValidationRule
Show file Open project: docevaad/Chain

Public Methods

Method Description
CheckValue ( object argumentValue ) : void

Checks the value for validation errors.

ValidateWithDataErrorInfo ( OperationTypes appliesWhen ) : System

Initializes a new instance of the ValidateWithDataErrorInfo class.

Protected Methods

Method Description
CheckValueCore ( IDataErrorInfo validation ) : void

Checks the value core.

Method Details

CheckValue() public method

Checks the value for validation errors.
public CheckValue ( object argumentValue ) : void
argumentValue object The argument value.
return void

CheckValueCore() protected static method

Checks the value core.
protected static CheckValueCore ( IDataErrorInfo validation ) : void
validation IDataErrorInfo The validation.
return void

ValidateWithDataErrorInfo() public method

Initializes a new instance of the ValidateWithDataErrorInfo class.
appliesWhen;appliesWhen may only be a combination of Insert or Update
public ValidateWithDataErrorInfo ( OperationTypes appliesWhen ) : System
appliesWhen OperationTypes The rule applies when.
return System