Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​Extensions.​DependencyInjection.​ServiceKeyAttribute
Assembly: Microsoft.Extensions.DependencyInjection.Abstractions
Inheritance: object → System.​Attribute → ServiceKeyAttribute
Specifies the parameter to inject the key that was used for registration or resolution.
Properties
public
object
TypeId
Methods
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object