Click or drag to resize

WithKeyAttributeKey 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 Object Key { get; }

Property Value

Type: Object
The Object corresponding to a registered service key on a component. Resolved components must be keyed with this value to satisfy the filter.
See Also