1 instantiation of ResponseCompressionProvider
Microsoft.AspNetCore.ResponseCompression.Microbenchmarks (1)
ResponseCompressionProviderBenchmark.cs (1)
25Provider = new ResponseCompressionProvider(services, Options.Create(options));
12 references to ResponseCompressionProvider
Microsoft.AspNetCore.ResponseCompression (3)
ResponseCompressionProvider.cs (1)
71_logger = services.GetRequiredService<ILogger<ResponseCompressionProvider>>();
ResponseCompressionServicesExtensions.cs (2)
24services.TryAddSingleton<IResponseCompressionProvider, ResponseCompressionProvider>(); 40services.TryAddSingleton<IResponseCompressionProvider, ResponseCompressionProvider>();
Microsoft.AspNetCore.ResponseCompression.Microbenchmarks (1)
ResponseCompressionProviderBenchmark.cs (1)
44public ResponseCompressionProvider Provider { get; set; }
Microsoft.AspNetCore.ResponseCompression.Tests (8)
ResponseCompressionMiddlewareTest.cs (8)
438TestSink.EnableWithTypeName<ResponseCompressionProvider>, 439TestSink.EnableWithTypeName<ResponseCompressionProvider>); 499TestSink.EnableWithTypeName<ResponseCompressionProvider>, 500TestSink.EnableWithTypeName<ResponseCompressionProvider>); 562TestSink.EnableWithTypeName<ResponseCompressionProvider>, 563TestSink.EnableWithTypeName<ResponseCompressionProvider>); 1239TestSink.EnableWithTypeName<ResponseCompressionProvider>, 1240TestSink.EnableWithTypeName<ResponseCompressionProvider>);