FromKeyedServicesAttribute Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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()
Crée une FromKeyedServicesAttribute instance avec LookupMode la valeur définie sur InheritKey.
public:
FromKeyedServicesAttribute();
public FromKeyedServicesAttribute();
Public Sub New ()
S’applique à
FromKeyedServicesAttribute(Object)
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.