Click or drag to resize

IMetadataRegistrarTInterface, TMetadataRegisterAttributedTypeTInstance Method

Registers the provided concrete instance and scans it for generic MetadataAttribute data.

Namespace:  Autofac.Extras.AttributeMetadata
Assembly:  Autofac.Extras.AttributeMetadata (in Autofac.Extras.AttributeMetadata.dll) Version: 6.0.0+9ca59cfaf8ca9a019932258d79b859bcf16e8ed2
Syntax
IRegistrationBuilder<TInstance, ConcreteReflectionActivatorData, SingleRegistrationStyle> RegisterAttributedType<TInstance>()
where TInstance : TInterface

Type Parameters

TInstance
Concrete instance type.

Return Value

Type: IRegistrationBuilderTInstance, ConcreteReflectionActivatorData, SingleRegistrationStyle
The registration for continued configuration.
See Also