Represents a group of parameters that define the behavior of the client API. This class is a map of
keys to
values. Instances are initially empty; they are not pre-populated with default values.
The following tables list the members exposed by ConfigurationParameters.
Public Constructors
Name | Description | |
---|---|---|
![]() ![]() |
ConfigurationParameters | Overloaded. Initializes a new instance of the |
Protected Constructors
Name | Description | |
---|---|---|
![]() ![]() |
ConfigurationParameters | Overloaded. Initializes a new instance of the |
Public Methods
Name | Description | |
---|---|---|
![]() |
Equals | Determines whether the specified |
![]() |
GetHashCode | Serves as a hash function for a particular type. |
![]() ![]() |
GetInstanceFromString | Returns an instance of this class using its associated value. |
![]() |
GetObjectData | This method is exposed to satisfy the interface. |
![]() |
GetParameter | Retrieves a configured value. A returned value of |
![]() |
GetType | Gets the |
![]() |
LoadMap | Parses a map of key/value pairs into valid keys and values. The resulting configuration values are used to populate this class. A common usage of this method is to load a properties file into an Each key must be a All string comparisons and lookups are case-insensitive. If a The value for a valid key is then parsed. If the value is already of the required type, it is used as-is; otherwise, it is transformed into one of the required types. The type of transformation depends on the parameter and type of value. An exception is thrown if the transformation fails. An exception is also thrown if the given or transformed value is invalid for the parameter. |
![]() |
SetParameter | Sets a configuration parameter. If the value of the argument is , this method removes the value. Defaults are used for removed values. |
![]() |
SetParameters | Sets the configuration parameters specified in the argument. Other configuration parameters are unchanged. This is equivalent to calling for each parameter with a value in the argument. |
![]() |
ToString | Overridden. Returns a representation of this instance. |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | Allows an |
![]() |
MemberwiseClone | Creates a shallow copy of the current |
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
ConfigurationParameters | Overloaded. Initializes a new instance of the |