IInternalServiceCollectionMap.AddDependencyScoped<TDependencies> Méthode
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.
Ajoute un Scoped objet de dépendance.
public Microsoft.EntityFrameworkCore.Infrastructure.IInternalServiceCollectionMap AddDependencyScoped<TDependencies>();
abstract member AddDependencyScoped : unit -> Microsoft.EntityFrameworkCore.Infrastructure.IInternalServiceCollectionMap
Public Function AddDependencyScoped(Of TDependencies) () As IInternalServiceCollectionMap
Paramètres de type
- TDependencies
Type de dépendance.
Retours
La même collection mappe afin que d’autres méthodes puissent être chaînées.