FromKeyedServicesAttribute Constructeurs

Définition

Surcharges

Nom Description
FromKeyedServicesAttribute()

Crée une FromKeyedServicesAttribute instance avec LookupMode la valeur définie sur InheritKey.

FromKeyedServicesAttribute(Object)

Crée une nouvelle instance FromKeyedServicesAttribute.

FromKeyedServicesAttribute()

Source:
FromKeyedServicesAttribute.cs
Source:
FromKeyedServicesAttribute.cs

Crée une FromKeyedServicesAttribute instance avec LookupMode la valeur définie sur InheritKey.

public:
 FromKeyedServicesAttribute();
public FromKeyedServicesAttribute();
Public Sub New ()

S’applique à

FromKeyedServicesAttribute(Object)

Source:
FromKeyedServicesAttribute.cs
Source:
FromKeyedServicesAttribute.cs
Source:
FromKeyedServicesAttribute.cs
Source:
FromKeyedServicesAttribute.cs

Crée une nouvelle instance FromKeyedServicesAttribute.

public:
 FromKeyedServicesAttribute(System::Object ^ key);
public FromKeyedServicesAttribute(object? key);
new Microsoft.Extensions.DependencyInjection.FromKeyedServicesAttribute : obj -> Microsoft.Extensions.DependencyInjection.FromKeyedServicesAttribute
Public Sub New (key As Object)

Paramètres

key
Object

Clé du service à clé à lier.

S’applique à