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.6.1-develop-00422
Syntax
protected virtual void AttachToComponentRegistration(
	IComponentRegistry componentRegistry,
	IComponentRegistration registration
)

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