Click or drag to resize

ModuleAttachToComponentRegistration Method

Override to attach module-specific functionality to a component registration.

Namespace:  Autofac
Assembly:  Autofac (in Autofac.dll) Version: 4.9.1+831973f4d02fbc619921dfaa8ac0c536f60ae7a3
Syntax
protected virtual void AttachToComponentRegistration(
	IComponentRegistry componentRegistry,
	IComponentRegistration registration
)

Parameters

componentRegistry
Type: Autofac.CoreIComponentRegistry
The component registry.
registration
Type: Autofac.CoreIComponentRegistration
The registration to attach functionality to.
Remarks
This method will be called for all existing and future component registrations - ordering is not important.
See Also