Click or drag to resize

ConfigurationRegistrar Constructor (IComponentRegistrar, IModuleRegistrar)

Initializes a new instance of the ConfigurationRegistrar class.

Namespace:  Autofac.Configuration.Core
Assembly:  Autofac.Configuration (in Autofac.Configuration.dll) Version: 6.0.0+ec1c6438ceb3f3338c7364e35e7303f014e3fc39
Syntax
public ConfigurationRegistrar(
	IComponentRegistrar componentRegistrar,
	IModuleRegistrar moduleRegistrar
)

Parameters

componentRegistrar
Type: Autofac.ConfigurationIComponentRegistrar
The IComponentRegistrar that will be used to parse configuration values into component registrations.
moduleRegistrar
Type: Autofac.ConfigurationIModuleRegistrar
The IModuleRegistrar that will be used to parse configuration values into module registrations.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if componentRegistrar or moduleRegistrar is .
See Also