Click or drag to resize

AutofacChildLifetimeScopeServiceProviderFactoryCreateServiceProvider Method

Creates an IServiceProvider from the container builder.

Namespace:  Autofac.Extensions.DependencyInjection
Assembly:  Autofac.Extensions.DependencyInjection (in Autofac.Extensions.DependencyInjection.dll) Version: 7.1.0+380b08798bf724f36e200e687129b44a0778ab92
Syntax
public IServiceProvider CreateServiceProvider(
	AutofacChildLifetimeScopeConfigurationAdapter configurationAdapter
)

Parameters

configurationAdapter
Type: Autofac.Extensions.DependencyInjectionAutofacChildLifetimeScopeConfigurationAdapter
The adapter holding configuration applied to ContainerBuilder creating the IServiceProvider.

Return Value

Type: IServiceProvider
An IServiceProvider.

Implements

IServiceProviderFactory.CreateServiceProvider(UTP)
See Also