[]
Checks if the parameters which name starts with the prefix 'prfx' in the parameter list are all in the list of valid parameter names 'plist'. If there is a parameter that is not in 'plist' an IllegalArgumentException is thrown with an explanation message. The default parameters are also included in the check.
public virtual void checkList(char prfx, string[] plist)
Type | Name | Description |
---|---|---|
char | prfx | The prefix of parameters to check. |
string[] | plist | The list of valid parameter names for the 'prfx' prefix. If null it is considered that no names are valid. |
Checks if the parameters which names do not start with any of the prefixes in 'prfxs' in this ParameterList are all in the list of valid parameter names 'plist'. If there is a parameter that is not in 'plist' an IllegalArgumentException is thrown with an explanation message. The default parameters are also included in the check.
public virtual void checkList(char[] prfxs, string[] plist)
Type | Name | Description |
---|---|---|
char[] | prfxs | The prefixes of parameters to ignore. |
string[] | plist | The list of valid parameter names. If null it is considered that no names are valid. |