Jaa


EnterpriseLibraryContainer.Current Property

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.

Get or set the current container used to resolve Entlib objects (for use by the various static factories).

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 Current { get; set; }
'Declaration
Public Shared Property Current As IServiceLocator
    Get
    Set
public:
static property IServiceLocator^ Current {
    IServiceLocator^ get ();
    void set (IServiceLocator^ value);
}

See Also

EnterpriseLibraryContainer Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace