共用方式為


IMvcCoreBuilder.Services 屬性

定義

取得已 IServiceCollection 設定基本 MVC 服務的 。

public Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; }
member this.Services : Microsoft.Extensions.DependencyInjection.IServiceCollection
Public ReadOnly Property Services As IServiceCollection

屬性值

適用於