ServicesContainer.GetServiceInstances Method
Gets a mutable list of service instances of a specified type.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Protected MustOverride Function GetServiceInstances ( _
serviceType As Type _
) As List(Of Object)
'Usage
Dim serviceType As Type
Dim returnValue As List(Of Object)
returnValue = Me.GetServiceInstances(serviceType)
protected abstract List<Object> GetServiceInstances(
Type serviceType
)
protected:
virtual List<Object^>^ GetServiceInstances(
Type^ serviceType
) abstract
abstract GetServiceInstances :
serviceType:Type -> List<Object>
protected abstract function GetServiceInstances(
serviceType : Type
) : List<Object>
Parameters
serviceType
Type: System.TypeThe service type.
Return Value
Type: System.Collections.Generic.List<Object>
A mutable list of service instances.