Partager via


ViewLocationExpanderContext Constructeurs

Définition

Surcharges

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

Initialise une nouvelle instance de ViewLocationExpanderContext.

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

Initialise une nouvelle instance de ViewLocationExpanderContext.

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

Initialise une nouvelle instance 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)

Paramètres

actionContext
ActionContext

ActionContext pour l’action en cours d’exécution.

viewName
String

Nom de la vue.

controllerName
String

Nom du contrôleur.

areaName
String

Nom de la zone.

isMainPage
Boolean

Détermine si la page trouvée est la page main d’une action.

S’applique à

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

Source:
ViewLocationExpanderContext.cs
Source:
ViewLocationExpanderContext.cs
Source:
ViewLocationExpanderContext.cs

Initialise une nouvelle instance 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)

Paramètres

actionContext
ActionContext

ActionContext pour l’action en cours d’exécution.

viewName
String

Nom de la vue.

controllerName
String

Nom du contrôleur.

areaName
String

Nom de la zone.

pageName
String

Nom de la page.

isMainPage
Boolean

Détermine si la page trouvée est la page main d’une action.

S’applique à