ViewFoundEventData Constructor

Definition

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.

viewName
String

The name of the view.

view
IView

The IView.

Applies to