11 references to PageViewLocationFormats
Microsoft.AspNetCore.Mvc.Razor (2)
RazorViewEngine.cs (1)
327
return _options.
PageViewLocationFormats
;
RazorViewEngineOptions.cs (1)
89
/// <see cref="
PageViewLocationFormats
"/> work in tandem with a view location expander to perform hierarchical
Microsoft.AspNetCore.Mvc.Razor.Test (4)
RazorViewEngineTest.cs (4)
2070
options.
PageViewLocationFormats
.Add("/Views/Shared/{0}.cshtml");
2071
options.
PageViewLocationFormats
.Add("/Pages/Shared/{0}.cshtml");
2103
options.
PageViewLocationFormats
.Clear();
2107
options.
PageViewLocationFormats
.Add(location);
Microsoft.AspNetCore.Mvc.RazorPages (3)
DependencyInjection\RazorPagesRazorViewEngineOptionsSetup.cs (3)
28
options.
PageViewLocationFormats
.Add(defaultPageSearchPath);
32
options.
PageViewLocationFormats
.Add(pagesSharedDirectory);
34
options.
PageViewLocationFormats
.Add("/Views/Shared/{0}" + RazorViewEngine.ViewExtension);
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
DependencyInjection\RazorPagesRazorViewEngineOptionsSetupTest.cs (2)
35
Assert.Equal(expected, viewEngineOptions.
PageViewLocationFormats
);
58
Assert.Equal(expected, viewEngineOptions.
PageViewLocationFormats
);