3 instantiations of ViewLocationCacheResult
Microsoft.AspNetCore.Mvc.Razor (3)
RazorViewEngine.cs (3)
204cacheResult = new ViewLocationCacheResult(new[] { applicationRelativePath }); 377cacheResult = new ViewLocationCacheResult(searchedLocations); 417return new ViewLocationCacheResult(
16 references to ViewLocationCacheResult
Microsoft.AspNetCore.Mvc.Razor (16)
RazorViewEngine.cs (13)
118var cacheResult = LocatePageFromViewLocations(context, pageName, isMainPage: false); 141var cacheResult = LocatePageFromPath(executingFilePath, pagePath, isMainPage: false); 166var cacheResult = LocatePageFromViewLocations(context, viewName, isMainPage); 181var cacheResult = LocatePageFromPath(executingFilePath, viewPath, isMainPage); 185private ViewLocationCacheResult LocatePageFromPath(string? executingFilePath, string pagePath, bool isMainPage) 189if (!ViewLookupCache.TryGetValue(cacheKey, out ViewLocationCacheResult? cacheResult)) 216private ViewLocationCacheResult LocatePageFromViewLocations( 262if (!ViewLookupCache.TryGetValue<ViewLocationCacheResult>(cacheKey, out var cacheResult) || cacheResult is null) 337private ViewLocationCacheResult OnCacheMiss( 351ViewLocationCacheResult? cacheResult = null; 392internal ViewLocationCacheResult? CreateCacheResult( 455private 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