Udostępnij za pośrednictwem


ConfigurationSourceBuilder Members

Include Protected Members
Include Inherited Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

The ConfigurationSourceBuilder type exposes the following members.

Constructors

  Name Description
Public method ConfigurationSourceBuilder
Initializes a new instance of the ConfigurationSourceBuilder class

Methods

  Name Description
Public method AddSection
Adds a ConfigurationSection to the builder.
Public method Contains
Determines if a section name is contained in the builder.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method Get(String)
Returns a configuration section with the given name, if present in the builder.
Public method Get<T>(String)
Returns a configuration section of type T, if present in the builder.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
(Overrides Object.ToString().)
Public method UpdateConfigurationWithReplace
Updates a configuration source replacing any existing sections with those built up with the builder.

Extension Methods

  Name Description
Public Extension Method ConfigureCaching
Main entry point to configure a CachingSettings section.
(Defined by CachingConfigurationSourceBuilderExtension.)
Public Extension Method ConfigureEmptyTypeRegistrations
Main entry point to configure a TypeRegistrationProvidersConfigurationSection section with no default type registrations.
(Defined by TypeRegistrationProviderConfigurationSourceBuilderExtension.)
Public Extension Method ConfigureExceptionHandling
Main entry point to configuration a ExceptionHandlingSettings section.
(Defined by ExceptionHandlingConfigurationSourceBuilderExtensions.)
Public Extension Method ConfigureLogging (Defined by LoggingConfigurationSourceBuilderExtensions.)
Public Extension Method ConfigureTypeRegistrations
Main entry point to configure a TypeRegistrationProvidersConfigurationSection section.
(Defined by TypeRegistrationProviderConfigurationSourceBuilderExtension.)

See Also

ConfigurationSourceBuilder Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace