Compartilhar via


LanguageViewLocationExpander.ExpandViewLocations Método

Definição

Invocado por um RazorViewEngine para determinar possíveis locais para uma exibição.

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

O ViewLocationExpanderContext para a operação de expansão de local de exibição atual.

viewLocations
IEnumerable<String>

A sequência de locais de exibição a serem expandidos.

Retornos

Uma lista de locais de exibição expandidos.

Implementações

Aplica-se a