24 references to Any
Microsoft.AspNetCore.Mvc.Core (3)
Filters\ResponseCacheFilterExecutor.cs (2)
33
get => _cacheLocation ?? _cacheProfile.Location ?? ResponseCacheLocation.
Any
;
116
ResponseCacheLocation.
Any
=> "public",
ResponseCacheAttribute.cs (1)
40
get => _location ?? ResponseCacheLocation.
Any
;
Microsoft.AspNetCore.Mvc.Core.Test (21)
Filters\ResponseCacheFilterExecutorTest.cs (14)
74
Location = ResponseCacheLocation.
Any
,
95
Location = ResponseCacheLocation.
Any
,
106
Location = ResponseCacheLocation.
Any
,
126
Location = ResponseCacheLocation.
Any
,
156
Location = ResponseCacheLocation.
Any
,
166
Location = ResponseCacheLocation.
Any
,
212
Location = ResponseCacheLocation.
Any
,
223
Location = ResponseCacheLocation.
Any
,
258
Location = ResponseCacheLocation.
Any
,
269
Location = ResponseCacheLocation.
Any
,
302
Location = ResponseCacheLocation.
Any
,
339
Location = ResponseCacheLocation.
Any
,
350
Location = ResponseCacheLocation.
Any
,
384
Location = ResponseCacheLocation.
Any
,
ResponseCacheAttributeTest.cs (7)
66
{ Duration = 20, Location = ResponseCacheLocation.
Any
, NoStore = false, VaryByHeader = "Accept", VaryByQueryKeys = new[] { "QueryKey" } },
69
{ Duration = 20, Location = ResponseCacheLocation.
Any
, NoStore = false, VaryByHeader = "Accept", VaryByQueryKeys = new[] { "QueryKey" } }
86
Location = ResponseCacheLocation.
Any
,
101
{ Duration = 20, Location = ResponseCacheLocation.
Any
, NoStore = false, VaryByHeader = "Accept", VaryByQueryKeys = new[] { "QueryKey" } }
150
{ Duration = 5234, Location = ResponseCacheLocation.
Any
, NoStore = false, VaryByHeader = null, VaryByQueryKeys = null }
207
Location = ResponseCacheLocation.
Any
,
237
new ResponseCacheAttribute() { Duration = 100, Location = ResponseCacheLocation.
Any
},