Click or drag to resize

WithMetadataAttributeKey Property

Gets the key the dependency is expected to have to satisfy the parameter.

Namespace:  Autofac.Extras.AttributeMetadata
Assembly:  Autofac.Extras.AttributeMetadata (in Autofac.Extras.AttributeMetadata.dll) Version: 6.0.0+9ca59cfaf8ca9a019932258d79b859bcf16e8ed2
Syntax
public string Key { get; }

Property Value

Type: String
The String corresponding to a registered metadata key on a component. Resolved components must have this metadata key to satisfy the filter.
See Also