Partilhar via


ViewLocationExpanderContext Construtores

Definição

Sobrecargas

ViewLocationExpanderContext(ActionContext, String, String, String, Boolean)

Inicializa uma nova instância de ViewLocationExpanderContext.

public:
 ViewLocationExpanderContext(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext, System::String ^ viewName, System::String ^ controllerName, System::String ^ areaName, bool isMainPage);
public ViewLocationExpanderContext(Microsoft.AspNetCore.Mvc.ActionContext actionContext, string viewName, string controllerName, string areaName, bool isMainPage);
new Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext : Microsoft.AspNetCore.Mvc.ActionContext * string * string * string * bool -> Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext
Public Sub New (actionContext As ActionContext, viewName As String, controllerName As String, areaName As String, isMainPage As Boolean)

Parâmetros

actionContext
ActionContext

O ActionContext para a ação em execução atual.

viewName
String

O nome da exibição.

controllerName
String

O nome do controlador.

areaName
String

O nome da área.

isMainPage
Boolean

Determina se a página que está sendo encontrada é a página main para uma ação.

Aplica-se a

ViewLocationExpanderContext(ActionContext, String, String, String, String, Boolean)

Origem:
ViewLocationExpanderContext.cs
Origem:
ViewLocationExpanderContext.cs
Origem:
ViewLocationExpanderContext.cs

Inicializa uma nova instância de ViewLocationExpanderContext.

public:
 ViewLocationExpanderContext(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext, System::String ^ viewName, System::String ^ controllerName, System::String ^ areaName, System::String ^ pageName, bool isMainPage);
public ViewLocationExpanderContext(Microsoft.AspNetCore.Mvc.ActionContext actionContext, string viewName, string? controllerName, string? areaName, string? pageName, bool isMainPage);
public ViewLocationExpanderContext(Microsoft.AspNetCore.Mvc.ActionContext actionContext, string viewName, string controllerName, string areaName, string pageName, bool isMainPage);
new Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext : Microsoft.AspNetCore.Mvc.ActionContext * string * string * string * string * bool -> Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext
Public Sub New (actionContext As ActionContext, viewName As String, controllerName As String, areaName As String, pageName As String, isMainPage As Boolean)

Parâmetros

actionContext
ActionContext

O ActionContext para a ação em execução atual.

viewName
String

O nome da exibição.

controllerName
String

O nome do controlador.

areaName
String

O nome da área.

pageName
String

O nome da página.

isMainPage
Boolean

Determina se a página que está sendo encontrada é a página main para uma ação.

Aplica-se a