Share via


ViewLocationExpanderContext Constructors

Definition

Overloads

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

Initializes a new instance of ViewLocationExpanderContext.

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

Initializes a new instance of ViewLocationExpanderContext.

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

Initializes a new instance of 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)

Parameters

actionContext
ActionContext

The ActionContext for the current executing action.

viewName
String

The view name.

controllerName
String

The controller name.

areaName
String

The area name.

isMainPage
Boolean

Determines if the page being found is the main page for an action.

Applies to

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

Source:
ViewLocationExpanderContext.cs
Source:
ViewLocationExpanderContext.cs

Initializes a new instance of 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)

Parameters

actionContext
ActionContext

The ActionContext for the current executing action.

viewName
String

The view name.

controllerName
String

The controller name.

areaName
String

The area name.

pageName
String

The page name.

isMainPage
Boolean

Determines if the page being found is the main page for an action.

Applies to