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