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
Afficher le fichier Open project: agardiner/hfmcmd

Méthodes publiques

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

Method Details

IsValid() public méthode

public IsValid ( Argument arg, string value, string &errorMsg ) : bool
arg Argument
value string
errorMsg string
Résultat bool

ListValidator() public méthode

public ListValidator ( ) : System
Résultat System

ListValidator() public méthode

public ListValidator ( List values ) : System
values List
Résultat System