6 writes to HeaderNames
Microsoft.AspNetCore.OutputCaching.Tests (6)
OutputCacheKeyProviderTests.cs (6)
147context.CacheVaryByRules.HeaderNames = new string[] { "HeaderA", "HeaderC" }; 159context.CacheVaryByRules.HeaderNames = new string[] { "HEADERA" }; 172context.CacheVaryByRules.HeaderNames = new string[] { "HeaderA", "HeaderC" }; 273context.CacheVaryByRules.HeaderNames = new string[] { "HeaderA", "HeaderC" }; 325context.CacheVaryByRules.HeaderNames = new string[] { "HeaderA", "HeaderC" }; 339context.CacheVaryByRules.HeaderNames = new string[] { "HeaderA", "HeaderC" };
9 references to HeaderNames
Microsoft.AspNetCore.OutputCaching.Tests (9)
OutputCacheAttributeTests.cs (3)
85Assert.Contains("HeaderA", (IEnumerable<string>)context.CacheVaryByRules.HeaderNames); 86Assert.Contains("HeaderC", (IEnumerable<string>)context.CacheVaryByRules.HeaderNames); 87Assert.DoesNotContain("HeaderB", (IEnumerable<string>)context.CacheVaryByRules.HeaderNames);
OutputCachePoliciesTests.cs (3)
191Assert.Equal(0, context.CacheVaryByRules.HeaderNames.Count); 204Assert.Equal(header, context.CacheVaryByRules.HeaderNames); 217Assert.Equal(headers, context.CacheVaryByRules.HeaderNames.ToArray());
OutputCachePolicyBuilderTests.cs (3)
115Assert.Contains("HeaderA", (IEnumerable<string>)context.CacheVaryByRules.HeaderNames); 116Assert.Contains("HeaderC", (IEnumerable<string>)context.CacheVaryByRules.HeaderNames); 117Assert.DoesNotContain("HeaderB", (IEnumerable<string>)context.CacheVaryByRules.HeaderNames);