6 instantiations of RazorPageResult
Microsoft.AspNetCore.Mvc.Razor (6)
RazorViewEngine.cs (6)
115return new RazorPageResult(pageName, Enumerable.Empty<string>()); 122return new RazorPageResult(pageName, razorPage); 126return new RazorPageResult(pageName, cacheResult.SearchedLocations!); 138return new RazorPageResult(pagePath, Enumerable.Empty<string>()); 145return new RazorPageResult(pagePath, razorPage); 149return new RazorPageResult(pagePath, cacheResult.SearchedLocations!);
9 references to RazorPageResult
Microsoft.AspNetCore.Mvc.Razor (9)
IRazorViewEngine.cs (4)
19/// <returns>The <see cref="RazorPageResult"/> of locating the page.</returns> 24RazorPageResult FindPage(ActionContext context, string pageName); 32/// <returns>The <see cref="RazorPageResult"/> of locating the page.</returns> 34RazorPageResult GetPage(string executingFilePath, string pagePath);
RazorPageResult.cs (2)
12/// Initializes a new instance of <see cref="RazorPageResult"/> for a successful discovery. 27/// Initializes a new instance of <see cref="RazorPageResult"/> for an unsuccessful discovery.
RazorView.cs (1)
271var layoutPageResult = _viewEngine.GetPage(executingFilePath, layoutPath);
RazorViewEngine.cs (2)
107public RazorPageResult FindPage(ActionContext context, string pageName) 131public RazorPageResult GetPage(string executingFilePath, string pagePath)