Export (0) Print
Expand All

ServicesContainer.Add Method

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

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

public void Add(
	Type serviceType,
	Object service
)

Parameters

serviceType
Type: System.Type

The service type.

service
Type: System.Object

The service instance.

Show:
© 2014 Microsoft