2 implementations of Dispose
Microsoft.AspNetCore.Hosting (1)
Http\DefaultHttpContextFactory.cs (1)
73public void Dispose(HttpContext httpContext)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
Mocks\MockHttpContextFactory.cs (1)
31public void Dispose(HttpContext httpContext)
7 references to Dispose
InMemory.FunctionalTests (2)
ResponseTests.cs (1)
4689mockHttpContextFactory.Setup(f => f.Dispose(It.IsAny<HttpContext>()))
src\Servers\Kestrel\shared\test\DummyApplication.cs (1)
40_httpContextFactory?.Dispose(context);
Microsoft.AspNetCore.Hosting (1)
Internal\HostingApplication.cs (1)
112_httpContextFactory!.Dispose(httpContext);
Microsoft.AspNetCore.Hosting.Tests (2)
HostingApplicationDiagnosticsTests.cs (1)
1096httpContextFactory.Setup(s => s.Dispose(It.IsAny<HttpContext>()));
HostingApplicationTests.cs (1)
76factory.Setup(m => m.Dispose(It.IsAny<HttpContext>())).Callback(() => { });
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\test\DummyApplication.cs (1)
40_httpContextFactory?.Dispose(context);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\test\DummyApplication.cs (1)
40_httpContextFactory?.Dispose(context);