DefaultServices.ReplaceSingle Method (Type, Object)

 

Replaces a single-instance service object.

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

protected override void ReplaceSingle(
	Type serviceType,
	object service
)

Parameters

serviceType
Type: System.Type

The service type.

service
Type: System.Object

The service object that replaces the previous instance.

Return to top
Show: