Export (0) Print
Expand All

ServicesContainer.ReplaceRange Method

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)

'Declaration
Public Sub ReplaceRange ( _
	serviceType As Type, _
	services As IEnumerable(Of Object) _
)
'Usage
Dim instance As ServicesContainer 
Dim serviceType As Type 
Dim services As IEnumerable(Of Object)

instance.ReplaceRange(serviceType, services)

Parameters

serviceType
Type: System.Type

The service type.

services
Type: System.Collections.Generic.IEnumerable(Of Object)

The service instances.

Show:
© 2015 Microsoft