Export (0) Print
Expand All

ServicesContainer.GetServices Method

Gets a collection of service instanes of a specified type.

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

public abstract IEnumerable<Object> GetServices(
	Type serviceType
)

Parameters

serviceType
Type: System.Type

The service type.

Return Value

Type: System.Collections.Generic.IEnumerable<Object>
A collection of service instances.
Show:
© 2014 Microsoft