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