C# Class CommandLine.ListValidator

ArgumentValidator implementation using a list of values. Supports validations of both single and multiple comma-separated argument values via the PermitMultipleValues property. Argument validation is not case-sensitive, unless the CaseSensitive property is set to true.
Inheritance: ArgumentValidator
Show file Open project: agardiner/hfmcmd

Public Methods

Method Description
IsValid ( Argument arg, string value, string &errorMsg ) : bool
ListValidator ( ) : System
ListValidator ( List values ) : System

Method Details

IsValid() public method

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

ListValidator() public method

public ListValidator ( ) : System
return System

ListValidator() public method

public ListValidator ( List values ) : System
values List
return System