ServicesContainer.ReplaceRange Method (Type, IEnumerable<Object>)

 

Replaces all existing services for the given service type with the given service instances.

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

No code example is currently available or this language may not be supported.

Parameters

serviceType
Type: System.Type

The service type.

services
Type: System.Collections.Generic.IEnumerable<Object>

The service instances.

Return to top
Show: