Click or drag to resize

RegistrationDataAddServices Method

Add multiple services for the registration, overriding the default.

Namespace:  Autofac.Builder
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
public void AddServices(
	IEnumerable<Service> services
)

Parameters

services
Type: System.Collections.GenericIEnumerableService
The services to add.
Remarks
If an empty collection is specified, this will still clear the default service.
See Also