MiddlewareFactory(IServiceProvider) 构造函数

定义

初始化 MiddlewareFactory 的新实例。

public:
 MiddlewareFactory(IServiceProvider ^ serviceProvider);
public MiddlewareFactory (IServiceProvider serviceProvider);
new Microsoft.AspNetCore.Http.MiddlewareFactory : IServiceProvider -> Microsoft.AspNetCore.Http.MiddlewareFactory
Public Sub New (serviceProvider As IServiceProvider)

参数

serviceProvider
IServiceProvider

应用程序服务。

适用于