ControllerServices.ReplaceSingle Method (Type, Object)

 

Replaces a single-instance service object.

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

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

Parameters

serviceType
Type: System.Type

The service type.

service
Type: System.Object

The service object that replaces the previous instance.

Return to top
Show: