C# Class CommandLine.RegexValidator

Validator implementation using a regular expression.
Inheritance: ArgumentValidator
Datei anzeigen Open project: agardiner/hfmcmd

Public Methods

Method Description
IsValid ( Argument arg, string value, string &errorMsg ) : bool
RegexValidator ( ) : System
RegexValidator ( Regex re ) : System
RegexValidator ( string re ) : System

Method Details

IsValid() public method

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

RegexValidator() public method

public RegexValidator ( ) : System
return System

RegexValidator() public method

public RegexValidator ( Regex re ) : System
re System.Text.RegularExpressions.Regex
return System

RegexValidator() public method

public RegexValidator ( string re ) : System
re string
return System