Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ServicesContainer.IsSingleService Method (Type)


Determine whether the service type should be fetched with GetService or GetServices.

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

public abstract bool IsSingleService(
	Type serviceType


Type: System.Type

type of service to query

Return Value

Type: System.Boolean

true iff the service is singular.

Return to top
© 2015 Microsoft