Share via


ServicesContainer.ClearSingle Method (Type)

 

Removes a single-instance service type.

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

Syntax

protected abstract void ClearSingle(
    Type serviceType
)
protected:
virtual void ClearSingle(
    Type^ serviceType
) abstract
abstract ClearSingle : 
        serviceType:Type -> unit
Protected MustOverride Sub ClearSingle (
    serviceType As Type
)

Parameters

  • serviceType
    Type: System.Type

    The service type to remove.

See Also

ServicesContainer Class
System.Web.Http.Controllers Namespace

Return to top