AutofacAttributeExtensions Class |
Namespace: Autofac.Extras.AttributeMetadata
The AutofacAttributeExtensions type exposes the following members.
Name | Description | |
---|---|---|
WithAttributedMetadataTMetadata(IRegistrationBuilderObject, ScanningActivatorData, DynamicRegistrationStyle) |
This method can be invoked with the assembly scanner to register strongly typed metadata attributes. The
attributes are scanned for one that is derived from the metadata interface. If one is found, the metadata
contents are extracted and registered with the instance registration.
| |
WithAttributedMetadataTLimit, TScanningActivatorData, TRegistrationStyle(IRegistrationBuilderTLimit, TScanningActivatorData, TRegistrationStyle) |
This method can be invoked with the assembly scanner to register metadata that is declared loosely using
attributes marked with the MetadataAttributeAttribute. All of the marked attributes are used together to create
a common set of dictionary values that constitute the metadata on the type.
| |
WithAttributeFilterTLimit, TReflectionActivatorData, TRegistrationStyle | Obsolete.
Applies attribute-based filtering on constructor dependencies for use with attributes
derived from the ParameterFilterAttribute.
|