C# Class Tortuga.Chain.AuditRules.ValidateWithNotifyDataErrorInfo

When this rule is in effect, objects that implement INotifyDataErrorInfo will be checked.
Inheritance: ValidationRule
ファイルを表示 Open project: docevaad/Chain

Public Methods

Method Description
CheckValue ( object argumentValue ) : void

Checks the value for validation errors.

ValidateWithNotifyDataErrorInfo ( OperationTypes appliesWhen ) : System

Initializes a new instance of the ValidateWithNotifyDataErrorInfo class.

Protected Methods

Method Description
CheckValueCore ( INotifyDataErrorInfo 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 ( INotifyDataErrorInfo validation ) : void
validation INotifyDataErrorInfo The validation.
return void

ValidateWithNotifyDataErrorInfo() public method

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