Click or drag to resize

AutofacMultitenantServiceProviderFactoryCreateServiceProvider Method

Creates an IServiceProvider from the container builder.

Namespace:  Microsoft.AspNetCore.Hosting
Assembly:  Autofac.Integration.AspNetCore.Multitenant (in Autofac.Integration.AspNetCore.Multitenant.dll) Version: 4.0.1+b60273783824e015af81d477fca338eb146578d7
Syntax
public IServiceProvider CreateServiceProvider(
	ContainerBuilder containerBuilder
)

Parameters

containerBuilder
Type: AutofacContainerBuilder
The container builder.

Return Value

Type: IServiceProvider
An IServiceProvider.

Implements

IServiceProviderFactory.CreateServiceProvider(UTP)
See Also