ViewLocationExpanderContext Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for