ControllerServices.GetServiceInstances Method (Type)

 

Gets the list of service objects for a given service type, and validates the service type.

Namespace:   System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

protected override List<object> GetServiceInstances(
    Type serviceType
)
protected:
virtual List<Object^>^ GetServiceInstances(
    Type^ serviceType
) override
override GetServiceInstances : 
        serviceType:Type -> List<Object>
Protected Overrides Function GetServiceInstances (
    serviceType As Type
) As List(Of Object)

Parameters

Return Value

Type: System.Collections.Generic.List<Object>

The list of service objects of the specified type.

See Also

ControllerServices Class
System.Web.Http.Controllers Namespace

Return to top