Implemented interface member:
method
DisposeContext
Microsoft.AspNetCore.Hosting.Server.IHttpApplication<TContext>.DisposeContext(TContext, System.Exception)
38 references to DisposeContext
Microsoft.AspNetCore.Hosting.Tests (38)
HostingApplicationDiagnosticsTests.cs (25)
78
hostingApplication1.
DisposeContext
(context1, null);
79
hostingApplication2.
DisposeContext
(context2, null);
112
hostingApplication1.
DisposeContext
(context1, null);
113
hostingApplication2.
DisposeContext
(context2, null);
213
hostingApplication.
DisposeContext
(context, null);
273
hostingApplication.
DisposeContext
(context, null);
332
hostingApplication.
DisposeContext
(context, null);
397
hostingApplication.
DisposeContext
(context, null);
457
hostingApplication.
DisposeContext
(context, null);
512
hostingApplication.
DisposeContext
(context, null);
550
hostingApplication.
DisposeContext
(context, null);
598
hostingApplication.
DisposeContext
(context, exception: null);
722
hostingApplication.
DisposeContext
(context, null);
746
hostingApplication.
DisposeContext
(context, new Exception());
768
hostingApplication.
DisposeContext
(context, new Exception());
1255
hostingApplication.
DisposeContext
(context, exception);
1303
hostingApplication.
DisposeContext
(context, null);
1339
hostingApplication.
DisposeContext
(context, null);
1375
hostingApplication.
DisposeContext
(context, exception);
1415
hostingApplication.
DisposeContext
(context, null);
1451
hostingApplication.
DisposeContext
(context, null);
1490
hostingApplication.
DisposeContext
(context, null);
1534
hostingApplication.
DisposeContext
(context, null);
1590
hostingApplication.
DisposeContext
(context, null);
1618
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);
127
hostingApplication.
DisposeContext
(context, null);
179
hostingApplication.
DisposeContext
(context, null);
HostingMetricsTests.cs (7)
39
hostingApplication.
DisposeContext
(context1, null);
51
hostingApplication.
DisposeContext
(context2, new InvalidOperationException("Test error"));
78
hostingApplication.
DisposeContext
(context3, null);
147
hostingApplication.
DisposeContext
(context1, null);
197
hostingApplication.
DisposeContext
(context, null);
227
hostingApplication.
DisposeContext
(context, null);
252
hostingApplication.
DisposeContext
(context, new InvalidOperationException("Test error"));