Autofac .NET Inversion of Control Container
AttachToComponentRegistration Method (componentRegistry, registration)
NamespacesAutofacModuleAttachToComponentRegistration(IComponentRegistry, IComponentRegistration)
Override to attach module-specific functionality to a component registration.
Declaration Syntax
C#Visual BasicVisual C++
protected virtual void AttachToComponentRegistration(
	IComponentRegistry componentRegistry,
	IComponentRegistration registration
)
Protected Overridable Sub AttachToComponentRegistration ( _
	componentRegistry As IComponentRegistry, _
	registration As IComponentRegistration _
)
protected:
virtual void AttachToComponentRegistration(
	IComponentRegistry^ componentRegistry, 
	IComponentRegistration^ registration
)
Parameters
componentRegistry (IComponentRegistry)
The component registry.
registration (IComponentRegistration)
The registration to attach functionality to.
Remarks
This method will be called for all existing and future component registrations - ordering is not important.

Assembly: Autofac (Module: Autofac) Version: 2.1.13.813 (2.1.13.813)