3 instantiations of ViewLocationCacheResult
Microsoft.AspNetCore.Mvc.Razor (3)
RazorViewEngine.cs (3)
204
cacheResult = new
ViewLocationCacheResult
(new[] { applicationRelativePath });
377
cacheResult = new
ViewLocationCacheResult
(searchedLocations);
417
return new
ViewLocationCacheResult
(
16 references to ViewLocationCacheResult
Microsoft.AspNetCore.Mvc.Razor (16)
RazorViewEngine.cs (13)
118
var
cacheResult = LocatePageFromViewLocations(context, pageName, isMainPage: false);
141
var
cacheResult = LocatePageFromPath(executingFilePath, pagePath, isMainPage: false);
166
var
cacheResult = LocatePageFromViewLocations(context, viewName, isMainPage);
181
var
cacheResult = LocatePageFromPath(executingFilePath, viewPath, isMainPage);
185
private
ViewLocationCacheResult
LocatePageFromPath(string? executingFilePath, string pagePath, bool isMainPage)
189
if (!ViewLookupCache.TryGetValue(cacheKey, out
ViewLocationCacheResult
? cacheResult))
216
private
ViewLocationCacheResult
LocatePageFromViewLocations(
262
if (!ViewLookupCache.TryGetValue<
ViewLocationCacheResult
>(cacheKey, out
var
cacheResult) || cacheResult is null)
337
private
ViewLocationCacheResult
OnCacheMiss(
351
ViewLocationCacheResult
? cacheResult = null;
392
internal
ViewLocationCacheResult
? CreateCacheResult(
455
private ViewEngineResult CreateViewEngineResult(
ViewLocationCacheResult
result, string viewName)
ViewLocationCacheItem.cs (1)
7
/// An item in <see cref="
ViewLocationCacheResult
"/>.
ViewLocationCacheResult.cs (2)
12
/// Initializes a new instance of <see cref="
ViewLocationCacheResult
"/>
29
/// Initializes a new instance of <see cref="
ViewLocationCacheResult
"/> for a