Summary
Invoked by a Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine
to determine potential locations for a view.
Syntax
public IEnumerable<string> ExpandViewLocations(ViewLocationExpanderContext context, IEnumerable<string> viewLocations)
Attributes
Type |
Description |
NullableContextAttribute |
|
IteratorStateMachineAttribute |
|
Parameters
Name |
Type |
Description |
context |
ViewLocationExpanderContext |
The Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext for the current view location
expansion operation. |
viewLocations |
IEnumerable<string> |
The sequence of view locations to expand. |
Return Value
Type |
Description |
IEnumerable<string> |
A list of expanded view locations. |