Click or drag to resize

ModuleAttachToRegistrationSource Method

Override to perform module-specific processing on a registration source.

Namespace:  Autofac
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
protected virtual void AttachToRegistrationSource(
	IComponentRegistryBuilder componentRegistry,
	IRegistrationSource registrationSource
)

Parameters

componentRegistry
Type: Autofac.Core.RegistrationIComponentRegistryBuilder
The component registry into which the source was added.
registrationSource
Type: Autofac.CoreIRegistrationSource
The registration source.
Remarks
This method will be called for all existing and future sources - ordering is not important.
See Also