C# Class Castle.Components.Validator.ValidateIntegerAttribute

Inheritance: Castle.Components.Validator.AbstractValidationAttribute
Mostrar archivo 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.

ValidateIntegerAttribute ( ) : System

Initializes a new instance of the ValidateIntegerAttribute class.

ValidateIntegerAttribute ( string errorMessage ) : System

Initializes a new instance of the ValidateIntegerAttribute 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

ValidateIntegerAttribute() public method

Initializes a new instance of the ValidateIntegerAttribute class.
public ValidateIntegerAttribute ( ) : System
return System

ValidateIntegerAttribute() public method

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