13 instantiations of ResponseCachingOptions
Microsoft.AspNetCore.ResponseCaching.Microbenchmarks (1)
ResponseCachingBenchmark.cs (1)
39Options.Create(new ResponseCachingOptions
Microsoft.AspNetCore.ResponseCaching.Tests (12)
ResponseCachingKeyProviderTests.cs (2)
31var cacheKeyProvider = TestUtils.CreateTestKeyProvider(new ResponseCachingOptions() 45var cacheKeyProvider = TestUtils.CreateTestKeyProvider(new ResponseCachingOptions()
ResponseCachingMiddlewareTests.cs (5)
362var middleware = TestUtils.CreateTestMiddleware(options: new ResponseCachingOptions 378var middleware = TestUtils.CreateTestMiddleware(options: new ResponseCachingOptions 452var middleware = TestUtils.CreateTestMiddleware(testSink: sink, options: new ResponseCachingOptions 472var middleware = TestUtils.CreateTestMiddleware(testSink: sink, options: new ResponseCachingOptions 497var middleware = TestUtils.CreateTestMiddleware(testSink: sink, options: new ResponseCachingOptions
ResponseCachingTests.cs (3)
747var builders = TestUtils.CreateBuildersWithResponseCaching(options: new ResponseCachingOptions() 772var builders = TestUtils.CreateBuildersWithResponseCaching(options: new ResponseCachingOptions() 797var builders = TestUtils.CreateBuildersWithResponseCaching(options: new ResponseCachingOptions()
TestUtils.cs (2)
108return CreateTestKeyProvider(new ResponseCachingOptions()); 207options = new ResponseCachingOptions();
11 references to ResponseCachingOptions
Microsoft.AspNetCore.ResponseCaching (7)
ResponseCachingKeyProvider.cs (2)
20private readonly ResponseCachingOptions _options; 22internal ResponseCachingKeyProvider(ObjectPoolProvider poolProvider, IOptions<ResponseCachingOptions> options)
ResponseCachingMiddleware.cs (3)
26private readonly ResponseCachingOptions _options; 41IOptions<ResponseCachingOptions> options, 59IOptions<ResponseCachingOptions> options,
ResponseCachingServicesExtensions.cs (2)
33/// <param name="configureOptions">A delegate to configure the <see cref="ResponseCachingOptions"/>.</param> 35public static IServiceCollection AddResponseCaching(this IServiceCollection services, Action<ResponseCachingOptions> configureOptions)
Microsoft.AspNetCore.ResponseCaching.Tests (4)
TestUtils.cs (4)
111internal static IResponseCachingKeyProvider CreateTestKeyProvider(ResponseCachingOptions options) 118ResponseCachingOptions options = null, 143ResponseCachingOptions options = null, 192ResponseCachingOptions options = null,