Click or drag to resize
DigitalRuneIServiceLocatorGetAllInstancesTService Method
Get all instances of the given TService currently registered in the container.

Namespace: Microsoft.Practices.ServiceLocation
Assembly: Microsoft.Practices.ServiceLocation (in Microsoft.Practices.ServiceLocation.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
IEnumerable<TService> GetAllInstances<TService>()

Type Parameters

TService
Type of object requested.

Return Value

Type: IEnumerableTService
A sequence of instances of the requested TService.
Exceptions
ExceptionCondition
ActivationExceptionif there is are errors resolving the service instance.
See Also