KestrelServerOptions.ApplicationServices 属性

定义

启用 UseKestrel 选项回调,以解析和使用应用程序在启动期间注册的服务。 通常由 UseKestrel(IWebHostBuilder, Action<KestrelServerOptions>)初始化。

public:
 property IServiceProvider ^ ApplicationServices { IServiceProvider ^ get(); void set(IServiceProvider ^ value); };
public IServiceProvider ApplicationServices { get; set; }
member this.ApplicationServices : IServiceProvider with get, set
Public Property ApplicationServices As IServiceProvider

属性值

适用于