HttpContextFactory
HttpContextFactory(IOptions<FormOptions>)
HttpContextFactory(IOptions<FormOptions>, IHttpContextAccessor)
HttpContextFactory(IOptions<FormOptions>, IServiceScopeFactory)
HttpContextFactory(IOptions<FormOptions>, IServiceScopeFactory, IHttpContextAccessor)
Create(IFeatureCollection)
Dispose(HttpContext)
net5.0
namespace Microsoft.AspNetCore.Http
{
[Obsolete("This is obsolete and will be removed in a future version. Use DefaultHttpContextFactory instead.")]
public class HttpContextFactory : IHttpContextFactory
{
public HttpContextFactory(IOptions<FormOptions!>! formOptions, IServiceScopeFactory! serviceScopeFactory);
}
}
| .NET | 5.0 |
|---|---|
| .NET Core | 3.03.1 |
Information specific to net5.0 | |
| Assembly | Microsoft.AspNetCore.Http , Version=5.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Requires any:
|
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API