49 references to EnableWithTypeName
Microsoft.AspNetCore.Diagnostics.Tests (2)
ExceptionHandlerTest.cs (2)
608var sink = new TestSink(TestSink.EnableWithTypeName<ExceptionHandlerMiddleware>); 736var sink = new TestSink(TestSink.EnableWithTypeName<ExceptionHandlerMiddleware>);
Microsoft.AspNetCore.Http.Tests (1)
ResponseCookiesTest.cs (1)
31var sink = new TestSink(TestSink.EnableWithTypeName<ResponseCookies>);
Microsoft.AspNetCore.HttpsPolicy.Tests (12)
HstsMiddlewareTests.cs (5)
175TestSink.EnableWithTypeName<HstsMiddleware>, 225TestSink.EnableWithTypeName<HstsMiddleware>, 280TestSink.EnableWithTypeName<HstsMiddleware>, 332TestSink.EnableWithTypeName<HstsMiddleware>, 379TestSink.EnableWithTypeName<HstsMiddleware>,
HttpsRedirectionMiddlewareTests.cs (7)
24TestSink.EnableWithTypeName<HttpsRedirectionMiddleware>, 74TestSink.EnableWithTypeName<HttpsRedirectionMiddleware>, 130TestSink.EnableWithTypeName<HttpsRedirectionMiddleware>, 235TestSink.EnableWithTypeName<HttpsRedirectionMiddleware>, 321TestSink.EnableWithTypeName<HttpsRedirectionMiddleware>, 374TestSink.EnableWithTypeName<HttpsRedirectionMiddleware>, 416TestSink.EnableWithTypeName<HttpsRedirectionMiddleware>,
Microsoft.AspNetCore.Localization.Tests (2)
CookieRequestCultureProviderTest.cs (2)
172TestSink.EnableWithTypeName<RequestLocalizationMiddleware>, 232TestSink.EnableWithTypeName<RequestLocalizationMiddleware>,
Microsoft.AspNetCore.RateLimiting.Tests (1)
RateLimitingMiddlewareTests.cs (1)
139TestSink.EnableWithTypeName<RateLimitingMiddleware>,
Microsoft.AspNetCore.RequestDecompression.Tests (7)
DefaultRequestDecompressionProviderTests.cs (1)
162TestSink.EnableWithTypeName<DefaultRequestDecompressionProvider>,
RequestDecompressionMiddlewareTests.cs (6)
201TestSink.EnableWithTypeName<DefaultRequestDecompressionProvider>, 271TestSink.EnableWithTypeName<DefaultRequestDecompressionProvider>, 347TestSink.EnableWithTypeName<DefaultRequestDecompressionProvider>, 442TestSink.EnableWithTypeName<DefaultRequestDecompressionProvider>, 528TestSink.EnableWithTypeName<DefaultRequestDecompressionProvider>, 684TestSink.EnableWithTypeName<DefaultRequestDecompressionProvider>,
Microsoft.AspNetCore.ResponseCompression.Tests (4)
ResponseCompressionMiddlewareTest.cs (4)
438TestSink.EnableWithTypeName<ResponseCompressionProvider>, 499TestSink.EnableWithTypeName<ResponseCompressionProvider>, 562TestSink.EnableWithTypeName<ResponseCompressionProvider>, 1239TestSink.EnableWithTypeName<ResponseCompressionProvider>,
Microsoft.AspNetCore.Routing.Tests (13)
EndpointRoutingMiddlewareFormOptionsTest.cs (5)
26var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>); 58var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>); 93var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>); 131var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>); 166var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>);
EndpointRoutingMiddlewareTest.cs (6)
65var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>); 234var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>); 272var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>); 304var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>); 330var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>); 360var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>);
RouterMiddlewareTest.cs (2)
72TestSink.EnableWithTypeName<RouterMiddleware>, 103TestSink.EnableWithTypeName<RouterMiddleware>,
Microsoft.AspNetCore.Session.Tests (7)
SessionTests.cs (7)
332TestSink.EnableWithTypeName<DistributedSession>, 379TestSink.EnableWithTypeName<DistributedSession>, 641TestSink.EnableWithTypeName<DistributedSession>, 691TestSink.EnableWithTypeName<DistributedSession>, 740TestSink.EnableWithTypeName<DistributedSession>, 788TestSink.EnableWithTypeName<DistributedSession>, 1088TestSink.EnableWithTypeName<SessionMiddleware>,