Click or drag to resize

AutofacChildLifetimeScopeServiceProviderFactoryCreateBuilder Method

Creates a container builder from an IServiceCollection.

Namespace:  Autofac.Extensions.DependencyInjection
Assembly:  Autofac.Extensions.DependencyInjection (in Autofac.Extensions.DependencyInjection.dll) Version: 7.1.0+380b08798bf724f36e200e687129b44a0778ab92
Syntax
public AutofacChildLifetimeScopeConfigurationAdapter CreateBuilder(
	IServiceCollection services
)

Parameters

services
Type: IServiceCollection
The collection of services.

Return Value

Type: AutofacChildLifetimeScopeConfigurationAdapter
A container builder that can be used to create an IServiceProvider.

Implements

IServiceProviderFactory.CreateBuilder(IServiceCollection)
See Also