2 implementations of Create
Microsoft.AspNetCore.Hosting (1)
Http\DefaultHttpContextFactory.cs (1)
44public HttpContext Create(IFeatureCollection featureCollection)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
Mocks\MockHttpContextFactory.cs (1)
15public HttpContext Create(IFeatureCollection featureCollection)
7 references to Create
InMemory.FunctionalTests (2)
ResponseTests.cs (1)
4685mockHttpContextFactory.Setup(f => f.Create(It.IsAny<IFeatureCollection>()))
src\Servers\Kestrel\shared\test\DummyApplication.cs (1)
35return _httpContextFactory?.Create(contextFeatures) ?? new DefaultHttpContext(contextFeatures);
Microsoft.AspNetCore.Hosting (1)
Internal\HostingApplication.cs (1)
78httpContext = _httpContextFactory!.Create(contextFeatures);
Microsoft.AspNetCore.Hosting.Tests (2)
HostingApplicationDiagnosticsTests.cs (1)
1095httpContextFactory.Setup(s => s.Create(It.IsAny<IFeatureCollection>())).Returns(context);
HostingApplicationTests.cs (1)
75factory.Setup(m => m.Create(It.IsAny<IFeatureCollection>())).Returns<IFeatureCollection>(f => new DefaultHttpContext(f));
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\test\DummyApplication.cs (1)
35return _httpContextFactory?.Create(contextFeatures) ?? new DefaultHttpContext(contextFeatures);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\test\DummyApplication.cs (1)
35return _httpContextFactory?.Create(contextFeatures) ?? new DefaultHttpContext(contextFeatures);