C# Class CommandLine.RangeValidator

ArgumentValidator implementation using a range.
Inheritance: ArgumentValidator
Exibir arquivo Open project: agardiner/hfmcmd

Private Properties

Property Type Description

Public Methods

Method Description
IsValid ( Argument arg, string value, string &errorMsg ) : bool
RangeValidator ( ) : System
RangeValidator ( int min, int max ) : System

Method Details

IsValid() public method

public IsValid ( Argument arg, string value, string &errorMsg ) : bool
arg Argument
value string
errorMsg string
return bool

RangeValidator() public method

public RangeValidator ( ) : System
return System

RangeValidator() public method

public RangeValidator ( int min, int max ) : System
min int
max int
return System