ModuleAttachToComponentRegistration Method |
Override to attach module-specific functionality to a
component registration.
Namespace:
Autofac
Assembly:
Autofac (in Autofac.dll) Version: 4.9.1+831973f4d02fbc619921dfaa8ac0c536f60ae7a3
Syntaxprotected virtual void AttachToComponentRegistration(
IComponentRegistry componentRegistry,
IComponentRegistration registration
)
Protected Overridable Sub AttachToComponentRegistration (
componentRegistry As IComponentRegistry,
registration As IComponentRegistration
)
Parameters
- componentRegistry
- Type: Autofac.CoreIComponentRegistry
The component registry. - registration
- Type: Autofac.CoreIComponentRegistration
The registration to attach functionality to.
RemarksThis method will be called for all existing and future component
registrations - ordering is not important.
See Also