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

Represents an ChildValidationPolicy. Provides methods to validate child business entities found against a DomainObject.
상속: IValidationPolicy
파일 보기 프로젝트 열기: NLADP/ADF

공개 메소드들

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

Validates validatable objects. When validation fails, the implementing services are required to add validation messages to the validation manager.

Validate ( object validatable, bool suppressWarnings ) : void

Validates validatable objects. When validation fails, the implementing services are required to add validation messages to the validation manager.

비공개 메소드들

메소드 설명
ValidateChild ( bool suppressWarnings, object value ) : void

Validates child business entity objects. When validation fails, the implementing services are required to add validation messages to the validation manager.

메소드 상세

Validate() 공개 메소드

Validates validatable objects. 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 object /// or a domain collection.
리턴 void

Validate() 공개 메소드

Validates validatable objects. 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 are added in the ValidationManager.
리턴 void