7 references to VaryByValues
Microsoft.AspNetCore.OutputCaching (1)
Policies\VaryByValuePolicy.cs (1)
23
rules.
VaryByValues
[result.Key] = result.Value;
Microsoft.AspNetCore.OutputCaching.Tests (6)
OutputCacheKeyProviderTests.cs (2)
133
context.CacheVaryByRules.
VaryByValues
["b"] = "ValueB";
134
context.CacheVaryByRules.
VaryByValues
["a"] = "ValueA";
OutputCachePoliciesTests.cs (1)
295
Assert.Contains(new KeyValuePair<string, string>(key, value), context.CacheVaryByRules.
VaryByValues
);
OutputCachePolicyBuilderTests.cs (3)
231
Assert.Equal("circle", context.CacheVaryByRules.
VaryByValues
["shape"]);
232
Assert.Equal("blue", context.CacheVaryByRules.
VaryByValues
["color"]);
233
Assert.Equal("1m", context.CacheVaryByRules.
VaryByValues
["size"]);