ViewFoundEventData Constructor
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.
Initializes a new instance of AfterViewEventData.
public:
ViewFoundEventData(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext, bool isMainPage, Microsoft::AspNetCore::Mvc::ActionResult ^ result, System::String ^ viewName, Microsoft::AspNetCore::Mvc::ViewEngines::IView ^ view);
public ViewFoundEventData (Microsoft.AspNetCore.Mvc.ActionContext actionContext, bool isMainPage, Microsoft.AspNetCore.Mvc.ActionResult result, string viewName, Microsoft.AspNetCore.Mvc.ViewEngines.IView view);
new Microsoft.AspNetCore.Mvc.Diagnostics.ViewFoundEventData : Microsoft.AspNetCore.Mvc.ActionContext * bool * Microsoft.AspNetCore.Mvc.ActionResult * string * Microsoft.AspNetCore.Mvc.ViewEngines.IView -> Microsoft.AspNetCore.Mvc.Diagnostics.ViewFoundEventData
Public Sub New (actionContext As ActionContext, isMainPage As Boolean, result As ActionResult, viewName As String, view As IView)
Parameters
- actionContext
- ActionContext
The ActionContext.
- isMainPage
- Boolean
Whether this is a main page.
- result
- ActionResult
The ActionResult.
- viewName
- String
The name of the view.