12 references to AreaViewLocationFormats
Microsoft.AspNetCore.Mvc.Razor (7)
RazorViewEngine.cs (4)
24
/// <see cref="RazorViewEngineOptions.
AreaViewLocationFormats
"/>.
66
if (_options.
AreaViewLocationFormats
.Count == 0)
69
Resources.FormatViewLocationFormatsIsRequired(nameof(RazorViewEngineOptions.
AreaViewLocationFormats
)),
314
return _options.
AreaViewLocationFormats
;
RazorViewEngineOptionsSetup.cs (3)
17
options.
AreaViewLocationFormats
.Add("/Areas/{2}/Views/{1}/{0}" + RazorViewEngine.ViewExtension);
18
options.
AreaViewLocationFormats
.Add("/Areas/{2}/Views/Shared/{0}" + RazorViewEngine.ViewExtension);
19
options.
AreaViewLocationFormats
.Add("/Views/Shared/{0}" + RazorViewEngine.ViewExtension);
Microsoft.AspNetCore.Mvc.Razor.Test (3)
RazorViewEngineOptionsTest.cs (1)
37
var formats = accessor.Value.
AreaViewLocationFormats
;
RazorViewEngineTest.cs (2)
2093
options.
AreaViewLocationFormats
.Clear();
2097
options.
AreaViewLocationFormats
.Add(location);
Microsoft.AspNetCore.Mvc.RazorPages (1)
DependencyInjection\RazorPagesRazorViewEngineOptionsSetup.cs (1)
58
options.
AreaViewLocationFormats
.Add(pagesSharedDirectory);
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
DependencyInjection\RazorPagesRazorViewEngineOptionsSetupTest.cs (1)
164
Assert.Equal(expected, viewEngineOptions.
AreaViewLocationFormats
);