Uwaga
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Include Protected Members
Include Inherited Members
The FileBasedConfigurationSource type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
FileBasedConfigurationSource |
Initializes a new instance of the FileBasedConfigurationSource class.
|
Methods
Name | Description | |
---|---|---|
![]() |
Add |
Adds a ConfigurationSection to the configuration and saves the configuration source.
|
![]() |
AddSectionChangeHandler |
Adds a handler to be called when changes to section
are detected.
|
![]() |
Dispose | Overloaded. |
![]() |
DoAdd |
When implemented in a derived class, adds a ConfigurationSection to the configuration and saves the configuration source.
|
![]() |
DoGetSection |
Retrieves the specified ConfigurationSection from the configuration file.
|
![]() |
DoRemove |
When implemented in a derived class, removes a ConfigurationSection from the configuration and saves the configuration source.
|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetSection |
Retrieves the specified ConfigurationSection from the configuration file, and starts watching for its changes if not watching already.
|
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
NotifyUpdatedSections | |
![]() |
OnSourceChanged |
Raises the SourceChanged event.
|
![]() |
RefreshAndValidateSections |
Refreshes the configuration sections from the main configuration file and determines which sections have suffered notifications and should be notified to registered handlers.
|
![]() |
RefreshExternalSections |
Refreshes the configuration sections from an external configuration file.
|
![]() |
Remove |
Removes a ConfigurationSection from the configuration and saves the configuration source.
|
![]() |
RemoveSectionChangeHandler |
Remove a handler to be called when changes to section
are detected.
|
![]() |
ToString | (Inherited from Object.) |
![]() ![]() |
ValidateArgumentsAndFileExists |
Validates the parameters required to save a configuration section.
|
Fields
Name | Description | |
---|---|---|
![]() ![]() |
NullConfigSource |
ConfigSource value for sections that existed in configuration but were later removed.
|
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.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
IConfigurationSourceTest.ConfigSourceChanged | |
![]() ![]() |
IConfigurationSourceTest.ConfigSourceWatcherMappings | |
![]() ![]() |
IConfigurationSourceTest.ExternalConfigSourceChanged | |
![]() ![]() |
IConfigurationSourceTest.WatchedConfigSources | |
![]() ![]() |
IConfigurationSourceTest.WatchedSections |
See Also
FileBasedConfigurationSource Class
Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace