2 instantiations of TestHostingContext
Microsoft.AspNetCore.TestHost.Tests (2)
ClientHandlerTests.cs (2)
611
return new
TestHostingContext
()
655
return new
TestHostingContext
()
24 references to TestHostingContext
Microsoft.AspNetCore.TestHost.Tests (24)
ClientHandlerTests.cs (24)
595
private class DummyApplication : ApplicationWrapper, IHttpApplication<
TestHostingContext
>
606
return ((IHttpApplication<
TestHostingContext
>)this).CreateContext(features);
609
TestHostingContext
IHttpApplication<
TestHostingContext
>.CreateContext(IFeatureCollection contextFeatures)
619
((IHttpApplication<
TestHostingContext
>)this).DisposeContext((
TestHostingContext
)context, exception);
622
void IHttpApplication<
TestHostingContext
>.DisposeContext(
TestHostingContext
context, Exception exception)
629
return ((IHttpApplication<
TestHostingContext
>)this).ProcessRequestAsync((
TestHostingContext
)context);
632
Task IHttpApplication<
TestHostingContext
>.ProcessRequestAsync(
TestHostingContext
context)
638
private class InspectingApplication : ApplicationWrapper, IHttpApplication<
TestHostingContext
>
649
return ((IHttpApplication<
TestHostingContext
>)this).CreateContext(features);
652
TestHostingContext
IHttpApplication<
TestHostingContext
>.CreateContext(IFeatureCollection contextFeatures)
663
((IHttpApplication<
TestHostingContext
>)this).DisposeContext((
TestHostingContext
)context, exception);
666
void IHttpApplication<
TestHostingContext
>.DisposeContext(
TestHostingContext
context, Exception exception)
673
return ((IHttpApplication<
TestHostingContext
>)this).ProcessRequestAsync((
TestHostingContext
)context);
676
Task IHttpApplication<
TestHostingContext
>.ProcessRequestAsync(
TestHostingContext
context)