Click or drag to resize

MetadataModuleTInterface, TMetadataRegisterAttributedTypeTInstance Method

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

Namespace:  Autofac.Extras.AttributeMetadata
Assembly:  Autofac.Extras.AttributeMetadata (in Autofac.Extras.AttributeMetadata.dll) Version: 6.0.0+9ca59cfaf8ca9a019932258d79b859bcf16e8ed2
Syntax
public 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.

Implements

IMetadataRegistrarTInterface, TMetadataRegisterAttributedTypeTInstance
See Also