- Validate
bool Validate(string arg, int n)
Validates a command line argument.
- Validate
bool Validate(string arg, string str)
Validates a command line argument.
- doesNotExist
bool doesNotExist(string arg, string str)
Validates that the argument does not refer to anything on the filesystem.
- isDir
bool isDir(string arg, string str)
Validates that argument refers to a valid directory.
- isFile
bool isFile(string arg, string str)
Validates that argument refers to a valid file.
- isNegative
bool isNegative(string arg, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
- isNotEmpty
bool isNotEmpty(string arg, string str)
Validates that the string is not empty.
- isPortNumber
bool isPortNumber(string arg, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
- isPositive
bool isPositive(string arg, int value)
Undocumented in source. Be warned that the author may not have intended to support it.