Partager via


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

Methods

  Name Description
Public methodStatic member ConfigureAsync(Uri, Object)
Configure Enterprise Library by asynchronously downloading a configuration XAML from the given URI.
Public methodStatic member ConfigureAsync(Uri, ICredentials, Object)
Configure Enterprise Library by asynchronously downloading a configuration XAML from the given URI.
Public methodStatic member ConfigureContainer(IContainerConfigurator, IConfigurationSource)
Read the current Enterprise Library configuration in the given configSource and supply the corresponding type information to the configurator.
Public methodStatic member ConfigureContainer(ITypeRegistrationsProvider, IContainerConfigurator, IConfigurationSource)
Read the current Enterprise Library configuration in the given configSource and supply the corresponding type information to the configurator.
Public methodStatic member CreateDefaultContainer()
Create a new instance of IServiceLocator that has been configured with the information in the default IConfigurationSource
Public methodStatic member CreateDefaultContainer(IConfigurationSource)
Create a new instance of IServiceLocator that has been configured with the information in the given configurationSource.

Properties

  Name Description
Public propertyStatic member Current
Get or set the current container used to resolve Entlib objects (for use by the various static factories).

Events

  Name Description
Public eventStatic member EnterpriseLibraryConfigurationCompleted
Event fired on the completion of asynchronous configuration of Enterprise Library started by a call to ConfigureAsync(Uri, Object). This event is fired on success or failure of the configuration. Once this event is fired, all Enterprise Library capabilities are ready to use.

See Also

EnterpriseLibraryContainer Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace