2 instantiations of TestHostingContext
Microsoft.AspNetCore.TestHost.Tests (2)
ClientHandlerTests.cs (2)
614return new TestHostingContext() 658return new TestHostingContext()
24 references to TestHostingContext
Microsoft.AspNetCore.TestHost.Tests (24)
ClientHandlerTests.cs (24)
598private class DummyApplication : ApplicationWrapper, IHttpApplication<TestHostingContext> 609return ((IHttpApplication<TestHostingContext>)this).CreateContext(features); 612TestHostingContext IHttpApplication<TestHostingContext>.CreateContext(IFeatureCollection contextFeatures) 622((IHttpApplication<TestHostingContext>)this).DisposeContext((TestHostingContext)context, exception); 625void IHttpApplication<TestHostingContext>.DisposeContext(TestHostingContext context, Exception exception) 632return ((IHttpApplication<TestHostingContext>)this).ProcessRequestAsync((TestHostingContext)context); 635Task IHttpApplication<TestHostingContext>.ProcessRequestAsync(TestHostingContext context) 641private class InspectingApplication : ApplicationWrapper, IHttpApplication<TestHostingContext> 652return ((IHttpApplication<TestHostingContext>)this).CreateContext(features); 655TestHostingContext IHttpApplication<TestHostingContext>.CreateContext(IFeatureCollection contextFeatures) 666((IHttpApplication<TestHostingContext>)this).DisposeContext((TestHostingContext)context, exception); 669void IHttpApplication<TestHostingContext>.DisposeContext(TestHostingContext context, Exception exception) 676return ((IHttpApplication<TestHostingContext>)this).ProcessRequestAsync((TestHostingContext)context); 679Task IHttpApplication<TestHostingContext>.ProcessRequestAsync(TestHostingContext context)