C# 클래스 Adf.Base.Validation.BusinessRuleValidationPolicy

Represents BusinessRuleValidationPolicy. This class does some sort of validations on a validatable object.
상속: IValidationPolicy
파일 보기 프로젝트 열기: NLADP/ADF

공개 메소드들

메소드 설명
Validate ( object validatable ) : void

Implements some sort of validation on a validatable object. When validation fails, the implementing services are required to add validation messages to the validation manager.

Validate ( object validatable, bool suppressWarnings ) : void

Implements some sort of validation on a validatable object. When validation fails, the implementing services are required to add validation messages to the validation manager.

메소드 상세

Validate() 공개 메소드

Implements some sort of validation on a validatable object. When validation fails, the implementing services are required to add validation messages to the validation manager.
public Validate ( object validatable ) : void
validatable object The object to validate. In most cases this will be a domain /// obect or a domain collection.
리턴 void

Validate() 공개 메소드

Implements some sort of validation on a validatable object. When validation fails, the implementing services are required to add validation messages to the validation manager.
public Validate ( object validatable, bool suppressWarnings ) : void
validatable object The object to validate. In most cases this will be a domain /// obect or a domain collection.
suppressWarnings bool Decides if warnings and infos are added to the ValidationManager.
리턴 void