IInternalServiceCollectionMap.AddDependencyScoped<TDependencies> 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
新增一個 Scoped 相依物件。
public Microsoft.EntityFrameworkCore.Infrastructure.IInternalServiceCollectionMap AddDependencyScoped<TDependencies>();
abstract member AddDependencyScoped : unit -> Microsoft.EntityFrameworkCore.Infrastructure.IInternalServiceCollectionMap
Public Function AddDependencyScoped(Of TDependencies) () As IInternalServiceCollectionMap
類型參數
- TDependencies
依賴類型。
傳回
相同的集合映射,以便串接更多方法。