Implemented interface member:
method
Create
Microsoft.AspNetCore.Http.IHttpContextFactory.Create(Microsoft.AspNetCore.Http.Features.IFeatureCollection)
7 references to Create
Microsoft.AspNetCore.Hosting (1)
Internal\HostingApplication.cs (1)
67
httpContext = _defaultHttpContextFactory.
Create
(contextFeatures);
Microsoft.AspNetCore.Hosting.Tests (5)
Http\DefaultHttpContextFactoryTests.cs (5)
23
var context = contextFactory.
Create
(new FeatureCollection());
41
var context = contextFactory.
Create
(new FeatureCollection());
61
var context = contextFactory.
Create
(new FeatureCollection());
75
var context = contextFactory.
Create
(new FeatureCollection()) as DefaultHttpContext;
93
var context = contextFactory.
Create
(new FeatureCollection()) as DefaultHttpContext;
Microsoft.AspNetCore.Routing.Tests (1)
EndpointRoutingMiddlewareFormOptionsTest.cs (1)
102
var httpContext = httpContextFactory.
Create
( new DefaultHttpContext().Features);