IServiceLocator Interface |
Namespace: Microsoft.Practices.ServiceLocation
The IServiceLocator type exposes the following members.
Name | Description | |
---|---|---|
GetAllInstances(Type) |
Get all instances of the given serviceType currently
registered in the container.
| |
GetAllInstancesTService |
Get all instances of the given TService currently
registered in the container.
| |
GetInstance(Type) |
Get an instance of the given serviceType.
| |
GetInstance(Type, String) |
Get an instance of the given named serviceType.
| |
GetInstanceTService |
Get an instance of the given TService.
| |
GetInstanceTService(String) |
Get an instance of the given named TService.
| |
GetService | Gets the service object of the specified type. (Inherited from IServiceProvider.) |