Implemented interface member:
method
DisposeContext
Microsoft.AspNetCore.Hosting.Server.IHttpApplication<TContext>.DisposeContext(TContext, System.Exception)
25 references to DisposeContext
Microsoft.AspNetCore.Hosting.Tests (25)
HostingApplicationDiagnosticsTests.cs (15)
77
hostingApplication1.
DisposeContext
(context1, null);
78
hostingApplication2.
DisposeContext
(context2, null);
111
hostingApplication1.
DisposeContext
(context1, null);
112
hostingApplication2.
DisposeContext
(context2, null);
212
hostingApplication.
DisposeContext
(context, null);
272
hostingApplication.
DisposeContext
(context, null);
331
hostingApplication.
DisposeContext
(context, null);
391
hostingApplication.
DisposeContext
(context, null);
446
hostingApplication.
DisposeContext
(context, null);
479
hostingApplication.
DisposeContext
(context, null);
527
hostingApplication.
DisposeContext
(context, exception: null);
651
hostingApplication.
DisposeContext
(context, null);
675
hostingApplication.
DisposeContext
(context, new Exception());
697
hostingApplication.
DisposeContext
(context, new Exception());
1072
hostingApplication.
DisposeContext
(context, exception: null);
HostingApplicationTests.cs (6)
32
hostingApplication.
DisposeContext
(context, null);
47
hostingApplication.
DisposeContext
(context, null);
66
hostingApplication.
DisposeContext
(context, null);
89
hostingApplication.
DisposeContext
(context, null);
126
hostingApplication.
DisposeContext
(context, null);
177
hostingApplication.
DisposeContext
(context, null);
HostingMetricsTests.cs (4)
39
hostingApplication.
DisposeContext
(context1, null);
51
hostingApplication.
DisposeContext
(context2, new InvalidOperationException("Test error"));
78
hostingApplication.
DisposeContext
(context3, null);
147
hostingApplication.
DisposeContext
(context1, null);