共用方式為


EntityFrameworkServicesBuilder.IInfrastructure<IServiceCollection>.Instance 屬性

定義

取得正在設定的 IServiceCollection

此屬性適用于需要利用公用 API 介面中未直接公開之服務的擴充方法。

Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.Extensions.DependencyInjection.IServiceCollection>.Instance { get; }
member this.Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.Extensions.DependencyInjection.IServiceCollection>.Instance : Microsoft.Extensions.DependencyInjection.IServiceCollection
 ReadOnly Property Instance As IServiceCollection Implements IInfrastructure(Of IServiceCollection).Instance

屬性值

實作

適用於