1 write to _cacheProfile
Microsoft.AspNetCore.Mvc.Core (1)
Filters\ResponseCacheFilterExecutor.cs (1)
22
_cacheProfile
= cacheProfile ?? throw new ArgumentNullException(nameof(cacheProfile));
8 references to _cacheProfile
Microsoft.AspNetCore.Mvc.Core (8)
Filters\ResponseCacheFilterExecutor.cs (8)
27
get => _cacheDuration ??
_cacheProfile
.Duration ?? 0;
33
get => _cacheLocation ??
_cacheProfile
.Location ?? ResponseCacheLocation.Any;
39
get => _cacheNoStore ??
_cacheProfile
.NoStore ?? false;
45
get => _cacheVaryByHeader ??
_cacheProfile
.VaryByHeader;
51
get => _cacheVaryByQueryKeys ??
_cacheProfile
.VaryByQueryKeys;
59
if (!(NoStore ||
_cacheProfile
.Location == ResponseCacheLocation.None || _cacheLocation == ResponseCacheLocation.None))
62
if (
_cacheProfile
.Duration == null && _cacheDuration == null)
107
if (Location == ResponseCacheLocation.None &&
_cacheProfile
.Duration == null && _cacheDuration == null)