InjectAttribute.Key Property

Definition

Gets or sets the object that specifies the key of the service to inject.

public object? Key { get; init; }
member this.Key : obj with get, set
Public Property Key As Object

Property Value

Applies to