C# 클래스 Spring.Validation.ValidatorGroup

IValidator implementation that supports grouping of validators.

This validator will be valid only when all of the validators in the Validators collection are valid.

ValidationErrors property will return a union of all validation error messages for the contained validators.

상속: Spring.Validation.BaseValidatorGroup
파일 보기 프로젝트 열기: spring-projects/spring-net 1 사용 예제들

공개 메소드들

메소드 설명
ValidatorGroup ( ) : System.Collections.Generic

Initializes a new instance

ValidatorGroup ( IExpression when ) : System.Collections.Generic

Initializes a new instance

ValidatorGroup ( string when ) : System.Collections.Generic

Initializes a new instance

보호된 메소드들

메소드 설명
ValidateGroup ( object>.IDictionary contextParams, IValidationErrors errors, object validationContext ) : bool

Actual implementation how to validate the specified object.

메소드 상세

ValidateGroup() 보호된 메소드

Actual implementation how to validate the specified object.
protected ValidateGroup ( object>.IDictionary contextParams, IValidationErrors errors, object validationContext ) : bool
contextParams object>.IDictionary Additional context parameters.
errors IValidationErrors instance to add error messages to.
validationContext object The object to validate.
리턴 bool

ValidatorGroup() 공개 메소드

Initializes a new instance
public ValidatorGroup ( ) : System.Collections.Generic
리턴 System.Collections.Generic

ValidatorGroup() 공개 메소드

Initializes a new instance
public ValidatorGroup ( IExpression when ) : System.Collections.Generic
when IExpression The expression that determines if this validator should be evaluated.
리턴 System.Collections.Generic

ValidatorGroup() 공개 메소드

Initializes a new instance
public ValidatorGroup ( string when ) : System.Collections.Generic
when string The expression that determines if this validator should be evaluated.
리턴 System.Collections.Generic