Export (0) Print
Expand All

DefaultServices.ReplaceSingle Method

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.

Show:
© 2015 Microsoft