Implemented interface member:
method
CreateContext
Microsoft.AspNetCore.Hosting.Server.IHttpApplication<TContext>.CreateContext(Microsoft.AspNetCore.Http.Features.IFeatureCollection)
47 references to CreateContext
Microsoft.AspNetCore.Hosting.Tests (47)
HostingApplicationDiagnosticsTests.cs (35)
68var context1 = hostingApplication1.CreateContext(features1); 69var context2 = hostingApplication2.CreateContext(features2); 99context1 = hostingApplication1.CreateContext(features1); 100context2 = hostingApplication2.CreateContext(features2); 165var context = hostingApplication.CreateContext(features); 211var context = hostingApplication.CreateContext(features); 230var context = hostingApplication.CreateContext(features); 257var context = hostingApplication.CreateContext(features); 316var context = hostingApplication.CreateContext(features); 381var context = hostingApplication.CreateContext(features); 441var context = hostingApplication.CreateContext(features); 496var context = hostingApplication.CreateContext(features); 541var context = hostingApplication.CreateContext(features); 554hostingApplication.CreateContext(features); 590var context = hostingApplication.CreateContext(features); 626hostingApplication.CreateContext(features); 663hostingApplication.CreateContext(features); 690hostingApplication.CreateContext(features); 715var context = hostingApplication.CreateContext(features); 739var context = hostingApplication.CreateContext(features); 761var context = hostingApplication.CreateContext(features); 782hostingApplication.CreateContext(features); 812hostingApplication.CreateContext(features); 842hostingApplication.CreateContext(features); 872hostingApplication.CreateContext(features); 903hostingApplication.CreateContext(features); 933hostingApplication.CreateContext(features); 970hostingApplication.CreateContext(features); 1000hostingApplication.CreateContext(features); 1041hostingApplication.CreateContext(features); 1076hostingApplication.CreateContext(features); 1119hostingApplication.CreateContext(features); 1161hostingApplication.CreateContext(features); 1211hostingApplication.CreateContext(features); 1234var context = hostingApplication.CreateContext(features);
HostingApplicationTests.cs (7)
28var context = hostingApplication.CreateContext(httpContext.Features); 43var context = hostingApplication.CreateContext(httpContext.Features); 62var context = hostingApplication.CreateContext(features); 85var context = hostingApplication.CreateContext(features); 107var context = hostingApplication.CreateContext(httpContext.Features); 154var context = hostingApplication.CreateContext(httpContext.Features); 170var context = hostingApplication.CreateContext(httpContext.Features);
HostingMetricsTests.cs (5)
37var context1 = hostingApplication.CreateContext(httpContext.Features); 49var context2 = hostingApplication.CreateContext(httpContext.Features); 64var context3 = hostingApplication.CreateContext(httpContext.Features); 135var context1 = hostingApplication.CreateContext(httpContext.Features); 173var context = hostingApplication.CreateContext(httpContext.Features);