ServicesContainer.ClearSingle Method

Removes a single-instance service type.

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

Syntax

'Declaration
Protected MustOverride Sub ClearSingle ( _
    serviceType As Type _
)
'Usage
Dim serviceType As Type 

Me.ClearSingle(serviceType)
protected abstract void ClearSingle(
    Type serviceType
)
protected:
virtual void ClearSingle(
    Type^ serviceType
) abstract
abstract ClearSingle : 
        serviceType:Type -> unit
protected abstract function ClearSingle(
    serviceType : Type
)

Parameters

  • serviceType
    Type: System.Type

    The service type to remove.

See Also

Reference

ServicesContainer Class

System.Web.Http.Controllers Namespace