Compartir a través de


LanguageViewLocationExpander.ExpandViewLocations Método

Definición

Invocado por para RazorViewEngine determinar las posibles ubicaciones de una vista.

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)

Parámetros

context
ViewLocationExpanderContext

para ViewLocationExpanderContext la operación de expansión de ubicación de vista actual.

viewLocations
IEnumerable<String>

Secuencia de ubicaciones de vista que se van a expandir.

Devoluciones

Lista de ubicaciones de vista expandidas.

Implementaciones

Se aplica a