17 references to RazorPageResult
Microsoft.AspNetCore.Mvc.Razor (4)
RazorViewEngine.cs (4)
115return new RazorPageResult(pageName, Enumerable.Empty<string>()); 126return new RazorPageResult(pageName, cacheResult.SearchedLocations!); 138return new RazorPageResult(pagePath, Enumerable.Empty<string>()); 149return new RazorPageResult(pagePath, cacheResult.SearchedLocations!);
Microsoft.AspNetCore.Mvc.Razor.Test (13)
RazorViewTest.cs (13)
541.Returns(new RazorPageResult(layoutPath, new[] { "path1", "path2" })) 545.Returns(new RazorPageResult(layoutPath, Enumerable.Empty<string>())) 584.Returns(new RazorPageResult(layoutPath, Enumerable.Empty<string>())) 588.Returns(new RazorPageResult(layoutPath, new[] { "path1", "path2" })) 629.Returns(new RazorPageResult(layoutPath, new[] { "path1", "path2" })) 633.Returns(new RazorPageResult(layoutPath, new[] { "path3", "path4" })) 861.Returns(new RazorPageResult("NestedLayout", Enumerable.Empty<string>())); 867.Returns(new RazorPageResult("Layout", Enumerable.Empty<string>())); 1217.Returns(new RazorPageResult("_Layout", Enumerable.Empty<string>())); 1265.Returns(new RazorPageResult("_Layout1", Enumerable.Empty<string>())); 1271.Returns(new RazorPageResult("_Layout2", Enumerable.Empty<string>())); 1399.Returns(new RazorPageResult("layout-1", Enumerable.Empty<string>())); 1454.Returns(new RazorPageResult("layout-1", Enumerable.Empty<string>()));