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: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
protected virtual void AttachToComponentRegistration(
	IComponentRegistryBuilder componentRegistry,
	IComponentRegistration registration
)

Parameters

componentRegistry
Type: Autofac.Core.RegistrationIComponentRegistryBuilder
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