Sdílet prostřednictvím


LanguageViewLocationExpander.ExpandViewLocations Metoda

Definice

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

public:
 virtual System::Collections::Generic::IEnumerable<System::String ^> ^ ExpandViewLocations(Microsoft::AspNetCore::Mvc::Razor::ViewLocationExpanderContext ^ context, System::Collections::Generic::IEnumerable<System::String ^> ^ viewLocations);
public virtual 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>
override this.ExpandViewLocations : Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext * seq<string> -> seq<string>
Public Overridable 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í.

Implementuje

Platí pro