DefaultServices.GetServices Method (Type)

 

Gets the list of service objects for a given service type.

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

Syntax

public override IEnumerable<object> GetServices(
    Type serviceType
)
public:
virtual IEnumerable<Object^>^ GetServices(
    Type^ serviceType
) override
override GetServices : 
        serviceType:Type -> IEnumerable<Object>
Public Overrides Function GetServices (
    serviceType As Type
) As IEnumerable(Of Object)

Parameters

Return Value

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

The list of service objects of the specified type, or an empty list if the service is not found.

See Also

DefaultServices Class
System.Web.Http.Services Namespace

Return to top