Method ValidChars
ValidChars(params char[])
Sets the specifieds characters as valid for the input.
ICharValidator ValidChars(params char[] ch)
Parameters
ch
char[]Characters to change state for.
Returns
- ICharValidator
Returns this object instance for use in the call sequences.
ValidChars(char[], bool)
Sets the specifieds characters as valid or invalid for the input.
ICharValidator ValidChars(char[] ch, bool valid)
Parameters
ch
char[]Characters to change state for.
valid
boolWhether chars are valid or invalid for the input.
Returns
- ICharValidator
Returns this object instance for use in the call sequences.
ValidChars(string?, bool)
Sets all string characters as valid or invalid for the input.
ICharValidator ValidChars(string? s, bool valid = true)
Parameters
s
stringLists characters to change state for.
valid
boolWhether chars are valid or invalid for the input.
Returns
- ICharValidator
Returns this object instance for use in the call sequences.
ValidChars(string[], bool)
Sets all string characters as valid or invalid for the input.
ICharValidator ValidChars(string[] s, bool valid = true)
Parameters
s
string[]Lists characters to change state for.
valid
boolWhether chars are valid or invalid for the input.
Returns
- ICharValidator
Returns this object instance for use in the call sequences.