IViewLocationExpander.ExpandViewLocations Metoda

Definice

Vyvolána metodou k RazorViewEngine určení potenciálních umístění pro zobrazení.

public:
 System::Collections::Generic::IEnumerable<System::String ^> ^ ExpandViewLocations(Microsoft::AspNetCore::Mvc::Razor::ViewLocationExpanderContext ^ context, System::Collections::Generic::IEnumerable<System::String ^> ^ viewLocations);
public System.Collections.Generic.IEnumerable<string> ExpandViewLocations (Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext context, System.Collections.Generic.IEnumerable<string> viewLocations);
abstract member ExpandViewLocations : Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext * seq<string> -> seq<string>
Public Function ExpandViewLocations (context As ViewLocationExpanderContext, viewLocations As IEnumerable(Of String)) As IEnumerable(Of String)

Parametry

context
ViewLocationExpanderContext

Pro ViewLocationExpanderContext aktuální operaci rozšíření umístění zobrazení.

viewLocations
IEnumerable<String>

Posloupnost umístění zobrazení, která se mají rozbalit.

Návraty

Seznam rozbalených umístění zobrazení.

Platí pro