| IServiceLocatorGetAllInstancesTService Method |
Get all instances of the given TService currently
registered in the container.
Namespace: Microsoft.Practices.ServiceLocationAssembly: Microsoft.Practices.ServiceLocation (in Microsoft.Practices.ServiceLocation.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax IEnumerable<TService> GetAllInstances<TService>()
Function GetAllInstances(Of TService) As IEnumerable(Of TService)
generic<typename TService>
IEnumerable<TService>^ GetAllInstances()
abstract GetAllInstances : unit -> IEnumerable<'TService>
Type Parameters
- TService
- Type of object requested.
Return Value
Type:
IEnumerableTServiceA sequence of instances of the requested
TService.
Exceptions See Also