7 references to Cache
Microsoft.AspNetCore.OutputCaching.Tests (7)
OutputCacheAttributeTests.cs (1)
64options.AddPolicy("MyPolicy", b => b.With(x => false).Cache());
OutputCacheMiddlewareTests.cs (4)
817options.AddBasePolicy(build => build.Cache()); 865options.AddBasePolicy(build => build.Cache()); 925options.AddBasePolicy(build => build.Cache().SetLocking(false)); 1018builder.Cache();
OutputCachePolicyBuilderTests.cs (2)
319var policy = builder.NoCache().Cache().Build(); 371options.AddBasePolicy(build => build.Cache());