C# Class Castle.Components.Validator.ValidateGroupNotEmptyAttribute

Inheritance: Castle.Components.Validator.AbstractValidationAttribute
Show file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
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.

Method Details

Build() public method

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

Build() public method

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
return IValidator

ValidateGroupNotEmptyAttribute() public method

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

ValidateGroupNotEmptyAttribute() public method

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