IMetadataRegistrarTInterface, TMetadataRegisterAttributedType Method (Type) |
Registers the provided concrete instance type and scans it for generate metadata data.
Namespace:
Autofac.Extras.AttributeMetadata
Assembly:
Autofac.Extras.AttributeMetadata (in Autofac.Extras.AttributeMetadata.dll) Version: 6.0.0+9ca59cfaf8ca9a019932258d79b859bcf16e8ed2
Syntax IRegistrationBuilder<Object, ConcreteReflectionActivatorData, SingleRegistrationStyle> RegisterAttributedType(
Type instanceType
)
Function RegisterAttributedType (
instanceType As Type
) As IRegistrationBuilder(Of Object, ConcreteReflectionActivatorData, SingleRegistrationStyle)
Parameters
- instanceType
- Type: SystemType
Type of the instance.
Return Value
Type:
IRegistrationBuilderObject,
ConcreteReflectionActivatorData,
SingleRegistrationStyle
The registration for continued configuration.
See Also