ViewComponentBeforeViewExecuteEventData 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 ViewComponentBeforeViewExecuteEventData.
public:
ViewComponentBeforeViewExecuteEventData(Microsoft::AspNetCore::Mvc::Abstractions::ActionDescriptor ^ actionDescriptor, Microsoft::AspNetCore::Mvc::ViewComponents::ViewComponentContext ^ viewComponentContext, Microsoft::AspNetCore::Mvc::ViewEngines::IView ^ view);
public ViewComponentBeforeViewExecuteEventData (Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor actionDescriptor, Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext viewComponentContext, Microsoft.AspNetCore.Mvc.ViewEngines.IView view);
new Microsoft.AspNetCore.Mvc.Diagnostics.ViewComponentBeforeViewExecuteEventData : Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor * Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext * Microsoft.AspNetCore.Mvc.ViewEngines.IView -> Microsoft.AspNetCore.Mvc.Diagnostics.ViewComponentBeforeViewExecuteEventData
Public Sub New (actionDescriptor As ActionDescriptor, viewComponentContext As ViewComponentContext, view As IView)
Parameters
- actionDescriptor
- ActionDescriptor
The ActionDescriptor.
- viewComponentContext
- ViewComponentContext
The ViewComponentContext.