C# 클래스 Castle.Components.Validator.ValidateCollectionNotEmptyAttribute

Validates that the collection is not empty
상속: Castle.Components.Validator.AbstractValidationAttribute
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono

공개 메소드들

메소드 설명
Build ( ) : IValidator

Constructs and configures an T:Castle.Components.Validator.IValidator instance based on the properties set on the attribute instance.

ValidateCollectionNotEmptyAttribute ( )

Initializes a new instance of the ValidateCollectionNotEmptyAttribute class.

ValidateCollectionNotEmptyAttribute ( string errorMessage )

Initializes a new instance of the ValidateCollectionNotEmptyAttribute class.

메소드 상세

Build() 공개 메소드

Constructs and configures an T:Castle.Components.Validator.IValidator instance based on the properties set on the attribute instance.
public Build ( ) : IValidator
리턴 IValidator

ValidateCollectionNotEmptyAttribute() 공개 메소드

Initializes a new instance of the ValidateCollectionNotEmptyAttribute class.

ValidateCollectionNotEmptyAttribute() 공개 메소드

Initializes a new instance of the ValidateCollectionNotEmptyAttribute class.
public ValidateCollectionNotEmptyAttribute ( string errorMessage )
errorMessage string The error message.