DesignConfigurationSource Members
Include Protected Members
Include Inherited Members
The DesignConfigurationSource type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DesignConfigurationSource |
Initializes a new instance of DesignConfigurationSource based on file path.
|
Methods
Name | Description | |
---|---|---|
Add(String, ConfigurationSection) |
Adds a ConfigurationSection to the configuration and saves the configuration source.
(Inherited from FileBasedConfigurationSource.) |
|
Add(String, ConfigurationSection, String) |
Adds a ConfigurationSection to the configuration and saves the configuration source using encryption.
(Inherited from FileConfigurationSource.) |
|
AddLocalSection |
Adds a local section to the configuration source.
|
|
AddSectionChangeHandler |
Adds a handler to be called when changes to section
(Inherited from FileBasedConfigurationSource.)
are detected.
|
|
CreateDesignSource |
Creates a new instance of DesignConfigurationSource based on rootSource and filePath.
|
|
Dispose() |
Releases the resources used by the change watchers.
(Inherited from FileBasedConfigurationSource.) |
|
Dispose(Boolean) |
Releases the resources used by the change watchers.
(Inherited from FileBasedConfigurationSource.) |
|
DoAdd |
Adds a ConfigurationSection to the configuration and saves the configuration source.
(Inherited from FileConfigurationSource.) |
|
DoGetSection |
Retrieves the specified ConfigurationSection from the configuration file.
(Inherited from FileConfigurationSource.) |
|
DoRemove |
Removes a ConfigurationSection from the configuration and saves the configuration source.
(Inherited from FileConfigurationSource.) |
|
Equals | (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 a hash function for a particular type.
(Inherited from Object.) |
|
GetLocalSection |
Retrieves a local section from the configuration source.
|
|
GetSection |
Retrieves the specified ConfigurationSection from the configuration file, and starts watching for its changes if not watching already.
(Inherited from FileBasedConfigurationSource.) |
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
NotifyUpdatedSections | ||
OnSourceChanged |
Raises the SourceChanged event.
(Inherited from FileBasedConfigurationSource.) |
|
RefreshAndValidateSections |
Refreshes the configuration sections from the main configuration file and determines which sections have suffered notifications and should be notified to registered handlers.
(Inherited from FileConfigurationSource.) |
|
RefreshExternalSections |
Refreshes the configuration sections from an external configuration file.
(Inherited from FileConfigurationSource.) |
|
Remove |
Removes a ConfigurationSection from the configuration and saves the configuration source.
(Inherited from FileBasedConfigurationSource.) |
|
RemoveLocalSection |
Removes a local section from the configuration source.
|
|
RemoveSectionChangeHandler |
Remove a handler to be called when changes to section
(Inherited from FileBasedConfigurationSource.)
are detected.
|
|
Save(String, ConfigurationSection) |
This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Adds or replaces configurationSection under name section in the configuration and saves the configuration file.
(Inherited from FileConfigurationSource.) |
|
Save(String, ConfigurationSection, String) |
This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Adds or replaces configurationSection under name section in the configuration file and saves the configuration file using encryption.
(Inherited from FileConfigurationSource.) |
|
ToString |
Returns a string that represents the current object.
(Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
ConfigurationFilePath |
Gets the path of the configuration file for the configuration source.
|
Events
Name | Description | |
---|---|---|
SourceChanged |
Event raised when any section in this configuration source has changed.
(Inherited from FileBasedConfigurationSource.) |
See Also
DesignConfigurationSource Class
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design Namespace