C# Class NAnt.Core.Attributes.StringValidatorAttribute

Inheritance: NAnt.Core.Attributes.ValidatorAttribute
显示文件 Open project: skolima/NAnt Class Usage Examples

Public Methods

Method Description
StringValidatorAttribute ( ) : System

Initializes a new instance of the StringValidatorAttribute class.

Validate ( object value ) : void

Checks if the specified value adheres to the rules defined by the properties of the StringValidatorAttribute.

Method Details

StringValidatorAttribute() public method

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

Validate() public method

Checks if the specified value adheres to the rules defined by the properties of the StringValidatorAttribute.
is an empty string value and is set to .
public Validate ( object value ) : void
value object The value to be checked.
return void