Dela via


MiddlewareFactory(IServiceProvider) Constructor

Definition

Initializes a new instance of 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)

Parameters

serviceProvider
IServiceProvider

The application services.

Applies to