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

public bool
Equals​(object obj)
Inherited from System.​Attribute
public int
GetHashCode​()
Inherited from System.​Attribute
public bool
IsDefaultAttribute​()
Inherited from System.​Attribute
public bool
Match​(object obj)
Inherited from System.​Attribute
protected void
Finalize​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object