Configuration Methods |
The Configuration type exposes the following members.
| Name | Description | |
|---|---|---|
| CreateFromFile |
Creates a configuration instance from an XML file.
| |
| CreateFromXml |
Creates a configuration instance from an XML representation.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Export |
Exports the Current configuration to the specified file.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetT |
Gets a configuration parameter by specifying a name and a target type.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| HandleCommandLineArguments |
Handles the command line arguments passed when the process was started.
| |
| Import |
Imports the configuration from the specified file name and sets it to the Current configuration.
| |
| LoadFromUserSettings(Configuration) |
Creates a configuration instance from user settings (current user / application data).
| |
| LoadFromUserSettings(Configuration, Boolean) |
Creates a configuration instance from user settings (current user / application data).
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Register |
Registers a new custom configuration parameter.
| |
| SaveToUserSettings |
Stores the configuration to the user settings file. (current user / application data)
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| ToXmlNode |
Creates a XML node representing the parameters in the configuration instance.
| |
| TrySaveToUserSettings |
Tries to save the configuration by calling SaveToUserSettings and
catching and returning any exception thrown.
|