DefaultHttpContextFactory(IServiceProvider) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.