ReplaceSingle Method

ServicesContainer.ReplaceSingle Method (Type, Object)

 

Replaces a single-instance service of a specified type.

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

abstract ReplaceSingle : 
        serviceType:Type *
        service:Object -> unit

Parameters

serviceType
Type: System.Type

The service type.

service
Type: System.Object

The service instance.

Return to top
Show:
© 2016 Microsoft