AttributedMetadataModuleAttachToComponentRegistration Method |
Override to attach module-specific functionality to a
component registration.
Namespace:
Autofac.Extras.AttributeMetadata
Assembly:
Autofac.Extras.AttributeMetadata (in Autofac.Extras.AttributeMetadata.dll) Version: 6.0.0+9ca59cfaf8ca9a019932258d79b859bcf16e8ed2
Syntax protected override void AttachToComponentRegistration(
IComponentRegistryBuilder componentRegistry,
IComponentRegistration registration
)
Protected Overrides Sub AttachToComponentRegistration (
componentRegistry As IComponentRegistryBuilder,
registration As IComponentRegistration
)
Parameters
- componentRegistry
- Type: Autofac.Core.RegistrationIComponentRegistryBuilder
The component registry builder. - 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