Share via


ServiceLocatorImplBase.GetAllInstances<TService> Method

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.

Namespace: Microsoft.Practices.ServiceLocation
Assembly: Microsoft.Practices.ServiceLocation (in Microsoft.Practices.ServiceLocation.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

public virtual IEnumerable<TService> GetAllInstances<TService>()
'Declaration
Public Overridable Function GetAllInstances(Of TService) As IEnumerable(Of TService)
public:
generic<typename TService>
virtual IEnumerable<TService>^ GetAllInstances()

Type Parameters

  • TService

See Also

ServiceLocatorImplBase Class

GetAllInstances Overload

Microsoft.Practices.ServiceLocation Namespace