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)
27get => _cacheDuration ?? _cacheProfile.Duration ?? 0; 33get => _cacheLocation ?? _cacheProfile.Location ?? ResponseCacheLocation.Any; 39get => _cacheNoStore ?? _cacheProfile.NoStore ?? false; 45get => _cacheVaryByHeader ?? _cacheProfile.VaryByHeader; 51get => _cacheVaryByQueryKeys ?? _cacheProfile.VaryByQueryKeys; 59if (!(NoStore || _cacheProfile.Location == ResponseCacheLocation.None || _cacheLocation == ResponseCacheLocation.None)) 62if (_cacheProfile.Duration == null && _cacheDuration == null) 107if (Location == ResponseCacheLocation.None && _cacheProfile.Duration == null && _cacheDuration == null)