Compartir a través de


ServiceKeyAttribute Class

Definition

Specifies the parameter to inject the key that was used for registration or resolution.

public ref class ServiceKeyAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Parameter)]
public class ServiceKeyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Parameter)>]
type ServiceKeyAttribute = class
    inherit Attribute
Public Class ServiceKeyAttribute
Inherits Attribute
Inheritance
ServiceKeyAttribute
Attributes

Constructors

ServiceKeyAttribute()

Applies to