Udostępnij za pośrednictwem


DesignConfigurationSource Members

Include Protected Members
Include Inherited Members

The DesignConfigurationSource type exposes the following members.

Constructors

  Name Description
Ff667433.pubmethod(en-us,PandP.50).gif DesignConfigurationSource
Initializes a new instance of DesignConfigurationSource based on file path.

Methods

  Name Description
Ff667433.pubmethod(en-us,PandP.50).gif Add Overloaded.
Ff667433.pubmethod(en-us,PandP.50).gif AddLocalSection
Adds a local section to the configuration source.
Ff667433.pubmethod(en-us,PandP.50).gif AddSectionChangeHandler
Adds a handler to be called when changes to section
sectionName
are detected.
(Inherited from FileBasedConfigurationSource.)
Ff667433.pubmethod(en-us,PandP.50).gif Dispose Overloaded.
Ff667433.pubmethod(en-us,PandP.50).gif DoAdd
Adds a ConfigurationSection to the configuration and saves the configuration source.
(Inherited from FileConfigurationSource.)
Ff667433.protmethod(en-us,PandP.50).gif DoGetSection
Retrieves the specified ConfigurationSection from the configuration file.
(Inherited from FileConfigurationSource.)
Ff667433.pubmethod(en-us,PandP.50).gif DoRemove
Removes a ConfigurationSection from the configuration and saves the configuration source.
(Inherited from FileConfigurationSource.)
Ff667433.pubmethod(en-us,PandP.50).gif Equals (Inherited from Object.)
Ff667433.protmethod(en-us,PandP.50).gif Finalize (Inherited from Object.)
Ff667433.pubmethod(en-us,PandP.50).gif GetHashCode (Inherited from Object.)
Ff667433.pubmethod(en-us,PandP.50).gif GetLocalSection
Retrieves a local section from the configuration source.
Ff667433.pubmethod(en-us,PandP.50).gif GetSection
Retrieves the specified ConfigurationSection from the configuration file, and starts watching for its changes if not watching already.
(Inherited from FileBasedConfigurationSource.)
Ff667433.pubmethod(en-us,PandP.50).gif GetType (Inherited from Object.)
Ff667433.protmethod(en-us,PandP.50).gif MemberwiseClone (Inherited from Object.)
Ff667433.protmethod(en-us,PandP.50).gif NotifyUpdatedSections
(Inherited from FileBasedConfigurationSource.)
Ff667433.protmethod(en-us,PandP.50).gif OnSourceChanged
Raises the SourceChanged event.
(Inherited from FileBasedConfigurationSource.)
Ff667433.protmethod(en-us,PandP.50).gif 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.)
Ff667433.protmethod(en-us,PandP.50).gif RefreshExternalSections
Refreshes the configuration sections from an external configuration file.
(Inherited from FileConfigurationSource.)
Ff667433.pubmethod(en-us,PandP.50).gif Remove
Removes a ConfigurationSection from the configuration and saves the configuration source.
(Inherited from FileBasedConfigurationSource.)
Ff667433.pubmethod(en-us,PandP.50).gif RemoveLocalSection
Removes a local section from the configuration source.
Ff667433.pubmethod(en-us,PandP.50).gif RemoveSectionChangeHandler
Remove a handler to be called when changes to section
sectionName
are detected.
(Inherited from FileBasedConfigurationSource.)
Ff667433.pubmethod(en-us,PandP.50).gif Save Overloaded.
Ff667433.pubmethod(en-us,PandP.50).gif ToString (Inherited from Object.)

Properties

  Name Description
Ff667433.protproperty(en-us,PandP.50).gif ConfigurationFilePath
Gets the path of the configuration file for the configuration source.
(Inherited from FileBasedConfigurationSource.)

Events

  Name Description
Ff667433.pubevent(en-us,PandP.50).gif SourceChanged
Event raised when any section in this configuration source has changed.
(Inherited from FileBasedConfigurationSource.)

Explicit Interface Implementations

  Name Description
Ff667433.pubinterface(en-us,PandP.50).gifFf667433.privmethod(en-us,PandP.50).gif IConfigurationSourceTest.ConfigSourceChanged (Inherited from FileBasedConfigurationSource.)
Ff667433.pubinterface(en-us,PandP.50).gifFf667433.privproperty(en-us,PandP.50).gif IConfigurationSourceTest.ConfigSourceWatcherMappings (Inherited from FileBasedConfigurationSource.)
Ff667433.pubinterface(en-us,PandP.50).gifFf667433.privmethod(en-us,PandP.50).gif IConfigurationSourceTest.ExternalConfigSourceChanged (Inherited from FileBasedConfigurationSource.)
Ff667433.pubinterface(en-us,PandP.50).gifFf667433.privproperty(en-us,PandP.50).gif IConfigurationSourceTest.WatchedConfigSources (Inherited from FileBasedConfigurationSource.)
Ff667433.pubinterface(en-us,PandP.50).gifFf667433.privproperty(en-us,PandP.50).gif IConfigurationSourceTest.WatchedSections (Inherited from FileBasedConfigurationSource.)

See Also

DesignConfigurationSource Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design Namespace