Click or drag to resize

IConfigurationRegistrarRegisterConfiguration Method

Registers the contents of a configuration object into a container builder.

Namespace:  Autofac.Configuration
Assembly:  Autofac.Configuration (in Autofac.Configuration.dll) Version: 6.0.0+ec1c6438ceb3f3338c7364e35e7303f014e3fc39
Syntax
void RegisterConfiguration(
	ContainerBuilder builder,
	IConfiguration configuration
)

Parameters

builder
Type: AutofacContainerBuilder
The ContainerBuilder that should receive the configured registrations.
configuration
Type: IConfiguration
The IConfiguration containing the configured registrations.
See Also