Partilhar via


IConfigurationSourceBuilder 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 IConfigurationSourceBuilder type exposes the following members.

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
Redeclaration that hides the Equals(Object) method from IntelliSense.
(Inherited from IFluentInterface.)
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
Redeclaration that hides the GetHashCode() method from IntelliSense.
(Inherited from IFluentInterface.)
Public method GetType
Redeclaration that hides the GetType() method from IntelliSense.
(Inherited from IFluentInterface.)
Public method ToString
Redeclaration that hides the ToString() method from IntelliSense.
(Inherited from IFluentInterface.)
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

IConfigurationSourceBuilder Interface

Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace