Implemented interface member:
method
DisposeContext
Microsoft.AspNetCore.Hosting.Server.IHttpApplication<TContext>.DisposeContext(TContext, System.Exception)
26 references to DisposeContext
Microsoft.AspNetCore.Hosting.Tests (26)
HostingApplicationDiagnosticsTests.cs (16)
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);
396
hostingApplication.
DisposeContext
(context, null);
456
hostingApplication.
DisposeContext
(context, null);
511
hostingApplication.
DisposeContext
(context, null);
544
hostingApplication.
DisposeContext
(context, null);
592
hostingApplication.
DisposeContext
(context, exception: null);
716
hostingApplication.
DisposeContext
(context, null);
740
hostingApplication.
DisposeContext
(context, new Exception());
762
hostingApplication.
DisposeContext
(context, new Exception());
1239
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);