ParameterList Class Members
In This Topic
The following tables list the members exposed by ParameterList.
Public Constructors
Public Properties
Public Methods
| Name | Description |
| Add | (Inherited from System.Collections.Generic.Dictionary<string,string>) |
| checkList | Overloaded. 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. |
| Clear | (Inherited from System.Collections.Generic.Dictionary<string,string>) |
| ContainsKey | (Inherited from System.Collections.Generic.Dictionary<string,string>) |
| ContainsValue | (Inherited from System.Collections.Generic.Dictionary<string,string>) |
| getBooleanParameter | Returns the value of the named parameter as a boolean. The value "on" is interpreted as 'true', while the value "off" is interpreted as 'false'. If the parameter has another value then an StringFormatException is thrown. If the parameter 'pname' is not in the parameter list, an IllegalArgumentException is thrown. |
| GetEnumerator | (Inherited from System.Collections.Generic.Dictionary<string,string>) |
| getFloatParameter | Returns the value of the named parameter as a float. If the parameter has a non-numeric value a NumberFormatException is thrown. If the parameter has a multiple word value than the first word is returned as an int, others are ignored. If the parameter 'pname' is not in the parameter list, an IllegalArgumentException is thrown. |
| getIntParameter | Returns the value of the named parameter as an int. If the parameter has a non-numeric value a NumberFormatException is thrown. If the parameter has a multiple word value than the first word is returned as an int, others are ignored. If the parameter 'pname' is not in the parameter list, an IllegalArgumentException is thrown. |
| GetObjectData | (Inherited from System.Collections.Generic.Dictionary<string,string>) |
| getParameter | Returns the value of the named parameter, as a string. The value can come from teh defaults, if there are. |
| OnDeserialization | (Inherited from System.Collections.Generic.Dictionary<string,string>) |
| parseArgs | |
| Remove | (Inherited from System.Collections.Generic.Dictionary<string,string>) |
| toNameArray | Converts the usage information to a list of parameter names in a single array. The usage information appears in a 2D array of String. The first dimensions contains the different options, the second dimension contains the name of the option (first element), the synopsis and the explanation. This method takes the names of the different options in 'pinfo' and returns them in a single array of String. |
| TryGetValue | (Inherited from System.Collections.Generic.Dictionary<string,string>) |
Top
See Also