IMvcBuilder.Services 属性

定义

获取 IServiceCollection 配置 MVC 服务的 。

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

属性值

适用于