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