?? microsoft.practices.enterpriselibrary.common.xml
字號:
<param name="configurationSection">The configuration section to watch.</param>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.BaseFileConfigurationSourceImplementation.AddSectionChangeHandler(System.String,Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationChangedEventHandler)">
<summary>
This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
Adds a handler to be called when changes to section <code>sectionName</code> are detected.
</summary>
<param name="sectionName">The name of the section to watch for.</param>
<param name="handler">The handler.</param>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.BaseFileConfigurationSourceImplementation.RemoveSectionChangeHandler(System.String,Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationChangedEventHandler)">
<summary>
This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
Remove a handler to be called when changes to section <code>sectionName</code> are detected.
</summary>
<param name="sectionName">The name of the section to watch for.</param>
<param name="handler">The handler.</param>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.BaseFileConfigurationSourceImplementation.ConfigSourceChanged(System.String)">
<summary>
This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
</summary>
<param name="configSource">The name of the updated configuration source.</param>
<devdoc>
Only needs to deal with concurrency to get the current sections and to update the watchers.
Rationale:
- Sections' are only added or updated.
- For this notification, all sections in the config file must be updated, and sections in external
files must be refreshed only if the config source changed.
- why not check after the original set of sections is retrieved?
-- Sections might have been added to the listener set after the original set is retrieved, but...
-- If they were added after the original set was retrieved, then they are up to date.
--- For this to happen, they couldn't have been read before the o.s., otherwise they would be a listener for them.
--- So, the retrieved information must be fresh (checked this with a test).
-- What about other changes?
--- Erased sections: only tested in the config file watching thread, because the meta configuration
is kept in the configuration file.
---- Even if the external file an external is deleted because of the deletion, and this change is processed
before the config file change, the refresh for the external section will refresh all the sections for the file and
notify a change, without need for checking the change. The change would later be picked up by the config file watcher
which will notify again. This shouldn't be a problem.
--- External sections with changed sources. If they existed before, they must have been in the config file and there
was an entry in the bookeeping data structures.
- Concurrent updates for sections values should be handled by the system.config fx
</devdoc>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.BaseFileConfigurationSourceImplementation.RefreshAndValidateSections(System.Collections.Generic.IDictionary{System.String,System.String},System.Collections.Generic.IDictionary{System.String,System.String},System.Collections.Generic.ICollection{System.String}@,System.Collections.Generic.IDictionary{System.String,System.String}@)">
<summary>
This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
Refreshes the configuration sections from the main configuration file and determines which sections have suffered notifications
and should be notified to registered handlers.
</summary>
<param name="localSectionsToRefresh">A dictionary with the configuration sections residing in the main configuration file that must be refreshed.</param>
<param name="externalSectionsToRefresh">A dictionary with the configuration sections residing in external files that must be refreshed.</param>
<param name="sectionsToNotify">A new collection with the names of the sections that suffered changes and should be notified.</param>
<param name="sectionsWithChangedConfigSource">A new dictionary with the names and file names of the sections that have changed their location.</param>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.BaseFileConfigurationSourceImplementation.RefreshExternalSections(System.String[])">
<summary>
This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
Refreshes the configuration sections from an external configuration file.
</summary>
<param name="sectionsToRefresh">A collection with the names of the sections that suffered changes and should be refreshed.</param>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.BaseFileConfigurationSourceImplementation.ExternalConfigSourceChanged(System.String)">
<summary>
This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
</summary>
<param name="configSource">The name of the updated configuration source.</param>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.BaseFileConfigurationSourceImplementation.Dispose">
<summary>
Releases the resources used by the change watchers.
</summary>
</member>
<member name="T:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ByteArrayTypeConverter">
<summary>
Represents a configuration converter that converts a byte array to and from a string representation by using base64 encoding.
</summary>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ByteArrayTypeConverter.CanConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Type)">
<summary>
Returns whether this converter can convert an object of the given type to the type of this converter.
</summary>
<param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext"/> object.</param>
<param name="sourceType">A <see cref="T:System.Type"/> that represents the type you want to convert from. </param>
<returns><see langword="true"/> if this converter can perform the conversion; otherwise, <see langword="falase"/>. </returns>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ByteArrayTypeConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object)">
<summary>
Converts the given value to the type of this converter.
</summary>
<param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext"/> object.</param>
<param name="culture">A <see cref="T:System.Globalization.CultureInfo"/> object.</param>
<param name="value">An <see cref="T:System.Object"/> that represents the converted value. </param>
<returns>An <see cref="T:System.Object"/> that represents the converted value. </returns>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ByteArrayTypeConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Type)">
<summary>
Returns whether this converter can convert the object to the specified type.
</summary>
<param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext"/> object.</param>
<param name="destinationType">A <see cref="T:System.Type"/> that represents the type you want to convert to..</param>
<returns><b>true</b> if the converter can convert to the specified type, <b>false</b> otherwise.</returns>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ByteArrayTypeConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object,System.Type)">
<summary>
Converts the given value object to the specified type, using the arguments.
</summary>
<param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext"/> object.</param>
<param name="culture">A <see cref="T:System.Globalization.CultureInfo"/> object.</param>
<param name="value">The <see cref="T:System.Object"/> to convert.</param>
<param name="destinationType">The <see cref="T:System.Type"/> to convert the value parameter to.</param>
<returns>The converted value.</returns>
</member>
<member name="T:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationFileSourceWatcher">
<summary>
Watcher for configuration sections in configuration files.
</summary>
<remarks>
This implementation uses a <see cref="T:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Storage.ConfigurationChangeFileWatcher"/> to watch for changes
in the configuration files.
</remarks>
</member>
<member name="T:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceWatcher">
<summary>
Reacts to changes on the medium on which a set of configuration sections are serialized.
</summary>
</member>
<member name="F:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceWatcher.configWatcher">
<summary>
The watcher on the underlying medium.
</summary>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceWatcher.#ctor(System.String,System.Boolean,Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationChangedEventHandler)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceWatcher"/> class.
</summary>
<param name="configSource">The identification of the medium.</param>
<param name="refresh"><b>true</b> if changes should be notified, <b>false</b> otherwise.</param>
<param name="changed">The callback for changes notification.</param>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceWatcher.StartWatching">
<summary>
Starts watching for changes on the serialization medium.
</summary>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceWatcher.StopWatching">
<summary>
Stops watching for changes on the serialization medium.
</summary>
</member>
<member name="P:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceWatcher.ConfigSource">
<summary>
Gets or sets the identification of the medium where the watched set of configuration sections is stored.
</summary>
</member>
<member name="P:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceWatcher.WatchedSections">
<summary>
Gets or sets the collection of watched sections.
</summary>
</member>
<member name="P:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceWatcher.Watcher">
<summary>
Gets the watcher over the serialization medium.
</summary>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationFileSourceWatcher.#ctor(System.String,System.String,System.Boolean,Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationChangedEventHandler)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationFileSourceWatcher"/> class.
</summary>
<param name="configurationFilepath">The path for the configuration file to watch.</param>
<param name="configSource">The identification of the configuration source.</param>
<param name="refresh"><b>true</b> if changes should be notified, <b>false</b> otherwise.</param>
<param name="changed">The callback for changes notification.</param>
</member>
<member name="M:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationFileSourceWatcher.GetFullFileName(System.String,System.String)">
<summary>
Gets the full file name associated to the configuration source.
</summary>
<param name="configurationFilepath">The path for the main configuration file.</param>
<param name="configSource">The configuration source to watch.</param>
<returns>The path to the configuration file to watch. It will be the same as <paramref name="configurationFilePath"/>
if <paramref name="configSource"/> is empty, or the full path for <paramref name="configSource"/> considered as a
file name relative to the main configuration file.</returns>
</member>
<member name="T:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceElement">
<summary>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -