Freigeben über


ServicesContainer.AddRange Method

Adds the services of the specified collection to the end of the services list for the given service type.

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

Syntax

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

instance.AddRange(serviceType, services)
public void AddRange(
    Type serviceType,
    IEnumerable<Object> services
)
public:
void AddRange(
    Type^ serviceType, 
    IEnumerable<Object^>^ services
)
member AddRange : 
        serviceType:Type * 
        services:IEnumerable<Object> -> unit
public function AddRange(
    serviceType : Type, 
    services : IEnumerable<Object>
)

Parameters

See Also

Reference

ServicesContainer Class

System.Web.Http.Controllers Namespace