Export (0) Print
Expand All

ControllerServices.IsSingleService Method

Queries whether a service type is single-instance.

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

abstract IsSingleService : 
        serviceType:Type -> bool  
override IsSingleService : 
        serviceType:Type -> bool

Parameters

serviceType
Type: System.Type

The service type.

Return Value

Type: System.Boolean
true if the service type has at most one instance, or false if the service type supports multiple instances.
Show:
© 2014 Microsoft