6 writes to RouteValueNames
Microsoft.AspNetCore.OutputCaching.Tests (6)
OutputCacheKeyProviderTests.cs (6)
101
context.CacheVaryByRules.
RouteValueNames
= new string[] { "RouteA", "RouteC" };
113
context.CacheVaryByRules.
RouteValueNames
= new string[] { "RouteA", "RouteC" };
275
context.CacheVaryByRules.
RouteValueNames
= new string[] { "RouteA", "RouteC" };
392
context.CacheVaryByRules.
RouteValueNames
= new string[] { "RouteA", "RouteC" };
406
context.CacheVaryByRules.
RouteValueNames
= new string[] { "RouteA", "RouteC" };
421
context.CacheVaryByRules.
RouteValueNames
= new string[] { "ROUTEA" };
12 references to RouteValueNames
Microsoft.AspNetCore.OutputCaching.Tests (12)
OutputCacheAttributeTests.cs (3)
119
Assert.Contains("RouteA", (IEnumerable<string>)context.CacheVaryByRules.
RouteValueNames
);
120
Assert.Contains("RouteC", (IEnumerable<string>)context.CacheVaryByRules.
RouteValueNames
);
121
Assert.DoesNotContain("RouteB", (IEnumerable<string>)context.CacheVaryByRules.
RouteValueNames
);
OutputCachePolicyBuilderTests.cs (9)
151
Assert.Contains("RouteA", (IEnumerable<string>)context.CacheVaryByRules.
RouteValueNames
);
152
Assert.Contains("RouteC", (IEnumerable<string>)context.CacheVaryByRules.
RouteValueNames
);
153
Assert.DoesNotContain("RouteB", (IEnumerable<string>)context.CacheVaryByRules.
RouteValueNames
);
171
Assert.Contains("RouteA", (IEnumerable<string>)context.CacheVaryByRules.
RouteValueNames
);
172
Assert.Contains("RouteC", (IEnumerable<string>)context.CacheVaryByRules.
RouteValueNames
);
173
Assert.DoesNotContain("RouteB", (IEnumerable<string>)context.CacheVaryByRules.
RouteValueNames
);
191
Assert.Contains("RouteA", (IEnumerable<string>)context.CacheVaryByRules.
RouteValueNames
);
192
Assert.Contains("RouteC", (IEnumerable<string>)context.CacheVaryByRules.
RouteValueNames
);
193
Assert.DoesNotContain("RouteB", (IEnumerable<string>)context.CacheVaryByRules.
RouteValueNames
);