ConfigurationRegistrarRegisterConfiguration Method |
Namespace: Autofac.Configuration.Core
public virtual void RegisterConfiguration( ContainerBuilder builder, IConfiguration configuration )
Exception | Condition |
---|---|
ArgumentNullException | Thrown if builder or configuration is . |
This method is the primary entry point to configuration section registration. From here, the various modules, components, and referenced files get registered. You may override any of those behaviors for a custom registrar if you wish to extend registration behavior.