Jaa


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

Methods

  Name Description
Public method GetAllInstances(Type)
Public method GetAllInstances<TService>()
Public method GetInstance(Type)
Public method GetInstance(Type, String)
Public method GetInstance<TService>()
Public method GetInstance<TService>(String)
Public method GetService
Gets the service object of the specified type.
(Inherited from IServiceProvider.)

Extension Methods

  Name Description
Public Extension Method Dispose
If the object implements IDisposable then call it.
(Defined by ServiceLocatorExtensions.)

See Also

IServiceLocator Interface

Microsoft.Practices.ServiceLocation Namespace