ServicesContainer.ClearMultiple Method
Removes all instances of a multi-instance service type.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Protected Overridable Sub ClearMultiple ( _
serviceType As Type _
)
'Usage
Dim serviceType As Type
Me.ClearMultiple(serviceType)
protected virtual void ClearMultiple(
Type serviceType
)
protected:
virtual void ClearMultiple(
Type^ serviceType
)
abstract ClearMultiple :
serviceType:Type -> unit
override ClearMultiple :
serviceType:Type -> unit
protected function ClearMultiple(
serviceType : Type
)
Parameters
serviceType
Type: System.TypeThe service type to remove.