C# 클래스 Tortuga.Chain.AuditRules.ValidateWithDataErrorInfo

When this rule is in effect, objects that implement IDataErrorInfo will be checked.
상속: ValidationRule
파일 보기 프로젝트 열기: docevaad/Chain

공개 메소드들

메소드 설명
CheckValue ( object argumentValue ) : void

Checks the value for validation errors.

ValidateWithDataErrorInfo ( OperationTypes appliesWhen ) : System

Initializes a new instance of the ValidateWithDataErrorInfo class.

보호된 메소드들

메소드 설명
CheckValueCore ( IDataErrorInfo validation ) : void

Checks the value core.

메소드 상세

CheckValue() 공개 메소드

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

CheckValueCore() 보호된 정적인 메소드

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

ValidateWithDataErrorInfo() 공개 메소드

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.
리턴 System