Dela via


DefaultHttpContextFactory(IServiceProvider) Constructor

Definition

Creates a factory for creating HttpContext instances.

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

Parameters

serviceProvider
IServiceProvider

The IServiceProvider to be used when retrieving services.

Applies to