6 instantiations of RazorPageResult
Microsoft.AspNetCore.Mvc.Razor (6)
RazorViewEngine.cs (6)
115
return new
RazorPageResult
(pageName, Enumerable.Empty<string>());
122
return new
RazorPageResult
(pageName, razorPage);
126
return new
RazorPageResult
(pageName, cacheResult.SearchedLocations!);
138
return new
RazorPageResult
(pagePath, Enumerable.Empty<string>());
145
return new
RazorPageResult
(pagePath, razorPage);
149
return 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>
24
RazorPageResult
FindPage(ActionContext context, string pageName);
32
/// <returns>The <see cref="
RazorPageResult
"/> of locating the page.</returns>
34
RazorPageResult
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)
271
var
layoutPageResult = _viewEngine.GetPage(executingFilePath, layoutPath);
RazorViewEngine.cs (2)
107
public
RazorPageResult
FindPage(ActionContext context, string pageName)
131
public
RazorPageResult
GetPage(string executingFilePath, string pagePath)