EnterpriseLibraryContainer.CreateDefaultContainer Method
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. |
Create a new instance of IServiceLocator that has been configured with the information in the default IConfigurationSource
Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration
Assembly: Microsoft.Practices.EnterpriseLibrary.Common.Silverlight (in Microsoft.Practices.EnterpriseLibrary.Common.Silverlight.dll) Version: 5.0.505.0
Syntax
public static IServiceLocator CreateDefaultContainer()
'Declaration
Public Shared Function CreateDefaultContainer As IServiceLocator
public:
static IServiceLocator^ CreateDefaultContainer()
Return Value
The IServiceLocator object.
See Also
EnterpriseLibraryContainer Class
CreateDefaultContainer Overload
Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace