1 instantiation of CacheProfile
Microsoft.AspNetCore.Mvc.Core (1)
ResponseCacheAttribute.cs (1)
107return new CacheProfile
12 references to CacheProfile
Microsoft.AspNetCore.Mvc.Core (10)
Filters\ResponseCacheFilter.cs (1)
22public ResponseCacheFilter(CacheProfile cacheProfile, ILoggerFactory loggerFactory)
Filters\ResponseCacheFilterExecutor.cs (2)
13private readonly CacheProfile _cacheProfile; 20public ResponseCacheFilterExecutor(CacheProfile cacheProfile)
MvcOptions.cs (3)
40CacheProfiles = new Dictionary<string, CacheProfile>(StringComparer.OrdinalIgnoreCase); 76/// Gets a Dictionary of CacheProfile Names, <see cref="CacheProfile"/> which are pre-defined settings for 79public IDictionary<string, CacheProfile> CacheProfiles { get; }
ResponseCacheAttribute.cs (4)
81/// Gets the <see cref="CacheProfile"/> for this attribute. 84public CacheProfile GetCacheProfile(MvcOptions options) 86CacheProfile? selectedProfile = null; 124var cacheProfile = GetCacheProfile(optionsAccessor.Value);
Microsoft.AspNetCore.Mvc.RazorPages (2)
ApplicationModels\ResponseCacheFilterApplicationModelProvider.cs (1)
35var cacheProfile = attribute.GetCacheProfile(_mvcOptions);
Filters\PageResponseCacheFilter.cs (1)
23public PageResponseCacheFilter(CacheProfile cacheProfile, ILoggerFactory loggerFactory)