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

상속: Castle.Components.Validator.AbstractValidationAttribute
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono

공개 메소드들

메소드 설명
Build ( ) : IValidator

Constructs and configures an IValidator instance based on the properties set on the attribute instance.

Build ( Castle.Components.Validator.ValidatorRunner validatorRunner, Type type ) : IValidator

Constructs and configures an IValidator instance based on the properties set on the attribute instance.

ValidateGroupNotEmptyAttribute ( string group ) : System

Initializes a new instance of the ValidateGroupNotEmptyAttribute class.

ValidateGroupNotEmptyAttribute ( string group, string errorMessage ) : System

Initializes a new instance of the ValidateGroupNotEmptyAttribute class.

메소드 상세

Build() 공개 메소드

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

Build() 공개 메소드

Constructs and configures an IValidator instance based on the properties set on the attribute instance.
public Build ( Castle.Components.Validator.ValidatorRunner validatorRunner, Type type ) : IValidator
validatorRunner Castle.Components.Validator.ValidatorRunner
type System.Type
리턴 IValidator

ValidateGroupNotEmptyAttribute() 공개 메소드

Initializes a new instance of the ValidateGroupNotEmptyAttribute class.
public ValidateGroupNotEmptyAttribute ( string group ) : System
group string The group.
리턴 System

ValidateGroupNotEmptyAttribute() 공개 메소드

Initializes a new instance of the ValidateGroupNotEmptyAttribute class.
public ValidateGroupNotEmptyAttribute ( string group, string errorMessage ) : System
group string The group.
errorMessage string The error message.
리턴 System