Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ServicesContainer.IsSingleService Method

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 MustOverride Function IsSingleService ( _
	serviceType As Type _
) As Boolean
Dim instance As ServicesContainer 
Dim serviceType As Type 
Dim returnValue As Boolean 

returnValue = instance.IsSingleService(serviceType)


Type: System.Type

type of service to query

Return Value

Type: System.Boolean
true iff the service is singular.
© 2014 Microsoft. All rights reserved.