| ServiceLocatorImplBaseGetAllInstances Method (Type) |
Get all instances of the given serviceType 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 public virtual IEnumerable<Object> GetAllInstances(
Type serviceType
)
Public Overridable Function GetAllInstances (
serviceType As Type
) As IEnumerable(Of Object)
public:
virtual IEnumerable<Object^>^ GetAllInstances(
Type^ serviceType
)
abstract GetAllInstances :
serviceType : Type -> IEnumerable<Object>
override GetAllInstances :
serviceType : Type -> IEnumerable<Object>
Parameters
- serviceType
- Type: SystemType
Type of object requested.
Return Value
Type:
IEnumerableObjectA sequence of instances of the requested
serviceType.
Implements
IServiceLocatorGetAllInstances(Type)Exceptions See Also