7 writes to VaryByHeader
Microsoft.AspNetCore.Mvc.Core (1)
ResponseCacheAttribute.cs (1)
104
VaryByHeader
= VaryByHeader ?? selectedProfile?.VaryByHeader;
Microsoft.AspNetCore.Mvc.Core.Test (5)
ResponseCacheAttributeTest.cs (5)
66
{ Duration = 20, Location = ResponseCacheLocation.Any, NoStore = false,
VaryByHeader
= "Accept", VaryByQueryKeys = new[] { "QueryKey" } },
74
{ Duration = 0, Location = ResponseCacheLocation.None, NoStore = true,
VaryByHeader
= null, VaryByQueryKeys = null },
88
VaryByHeader
= "Accept",
208
VaryByHeader
= "Accept",
307
VaryByHeader
= "Accept"
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
ApplicationModels\ResponseCacheFilterApplicationModelProviderTest.cs (1)
86
[ResponseCache(Duration = 12, NoStore = true,
VaryByHeader
= "Abc")]
2 references to VaryByHeader
Microsoft.AspNetCore.Mvc.Core (2)
ResponseCacheAttribute.cs (2)
104
VaryByHeader =
VaryByHeader
?? selectedProfile?.VaryByHeader;
112
VaryByHeader =
VaryByHeader
,