RepositoryConfigBaseTConfig Methods |
The RepositoryConfigBaseTConfig generic type exposes the following members.
Name | Description | |
---|---|---|
DiscardCache |
Forces immediate reload of modified configuration settings without waiting
for the latency period to expire. However, this method affects the current
AppDomain only. There is no way to force other processes to reload configuration
settings immediately (besides restarting the processes). Therefore, this
method is typically used in environments testing configuration implementations.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetOrCreateConfigRootFolder |
Gets or creates the configuration root folder. Use this method for maintaining
configuration settings. This method is not suitable for retrieving
configuration settings in the implementation of the Load(IRepository)
method.
| |
GetSettings | Obsolete.
Retrieves the configuration settings.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Load |
Loads the configuration settings into a new configuration instance. Implement this
method to properly initialize the configuration instance that will be stored
in the configuration cache until the configuration settings gobally expire.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ThrowFolderNotFound |
Throws a ConfigurationException to indicate that a configuration folder is missing.
| |
ThrowObjectNotFound |
Throws a ConfigurationException to indicate that a configuration object is missing.
| |
ThrowXmlSectionNotFound |
Throws a ConfigurationException to indicate that a configuration XML element is missing.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Updated | Obsolete.
Indicates that configuration settings have been updated and cached
data must be reloaded from the repository after a specific latency
period (5 seconds). Call this method after modifying a coherent chunk
of configuration settings, typically before the end of a transaction.
|