ServicesContainer.Clear Method (Type)

 

Removes all the service instances of the given service type.

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

abstract Clear : 
        serviceType:Type -> unit
override Clear : 
        serviceType:Type -> unit

Parameters

serviceType
Type: System.Type

The service type to clear from the services list.

Return to top
Show: