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

 

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

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 Sub AddRange (
    serviceType As Type,
    services As IEnumerable(Of Object)
)

Parameters

See Also

ServicesContainer Class
System.Web.Http.Controllers Namespace

Return to top