C# 클래스 NAnt.Core.Attributes.Int32ValidatorAttribute

상속: NAnt.Core.Attributes.ValidatorAttribute
파일 보기 프로젝트 열기: skolima/NAnt

공개 메소드들

메소드 설명
Int32ValidatorAttribute ( ) : System

Initializes a new instance of the Int32ValidatorAttribute class.

Int32ValidatorAttribute ( int minValue, int maxValue ) : System

Initializes a new instance of the Int32ValidatorAttribute class with the specied minimum and maximum values.

Validate ( object value ) : void

Checks whether the specified value can be converted to an Int32 and whether the value lies within the range defined by the MinValue and MaxValue properties.

메소드 상세

Int32ValidatorAttribute() 공개 메소드

Initializes a new instance of the Int32ValidatorAttribute class.
public Int32ValidatorAttribute ( ) : System
리턴 System

Int32ValidatorAttribute() 공개 메소드

Initializes a new instance of the Int32ValidatorAttribute class with the specied minimum and maximum values.
public Int32ValidatorAttribute ( int minValue, int maxValue ) : System
minValue int The minimum value.
maxValue int The maximum value.
리턴 System

Validate() 공개 메소드

Checks whether the specified value can be converted to an Int32 and whether the value lies within the range defined by the MinValue and MaxValue properties.
/// /// cannot be converted to an . /// /// -or- /// /// is not in the range defined by /// and . /// ///
public Validate ( object value ) : void
value object The value to be checked.
리턴 void