ConfigurationProviderBase<TAppConfiguration> Class
Implements:
IConfigurationProvider
Westwind.Utilities.Configuration.ConfigurationProviderBase<TAppConfiguration>
Class Members
| Member | Description | |
|---|---|---|
| Constructor | ||
| CreateConfigurationInstance | Helper method to create a new instance of the Configuration object.
public abstract TAppConfiguration CreateConfigurationInstance()
|
|
| DecryptFields | Internally decryptes all the fields in the current object based on the EncryptFieldList
public abstract void DecryptFields(AppConfiguration config)
|
|
| EncryptFields | Encrypts all the fields in the current object based on the EncryptFieldList
public abstract void EncryptFields(AppConfiguration config)
|
|
| Read | Reads data into configuration from an XML string into a passed instance of the a configuration object.
public abstract T Read
|
|
| SetError | Writes an exception and innerexception message into the error message text
public abstract void SetError(string message)
|
|
| Write | Writes the configuration settings from a specific instance into the configuration store.
public abstract bool Write(AppConfiguration config)
|
|
| WriteAsString | Writes the current configuration information to an XML string. String is XML Serialization format.
public abstract string WriteAsString(AppConfiguration config)
|
|
| ConfigurationSection | Optional Section name that can differentiate groups of config values in multi-section files like Config files. | |
| EncryptionKey | The encryption key to encrypt the fields set with FieldsToEncrypt | |
| ErrorMessage | Displays error information when results fail. | |
| PropertiesToEncrypt | A comma delimiter list of property names that are to be encrypted when persisted to the store | |
Assembly: Westwind.Utilities.dll
