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)

public:
void ReplaceRange(
	Type^ serviceType,
	IEnumerable<Object^>^ services
)

Parameters

serviceType
Type: System::Type^

The service type.

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

The service instances.

Return to top
Show: