BeforeViewComponentEventData 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 BeforeViewComponentEventData.
public:
BeforeViewComponentEventData(Microsoft::AspNetCore::Mvc::Abstractions::ActionDescriptor ^ actionDescriptor, Microsoft::AspNetCore::Mvc::ViewComponents::ViewComponentContext ^ viewComponentContext, System::Object ^ viewComponent);
public BeforeViewComponentEventData (Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor actionDescriptor, Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext viewComponentContext, object viewComponent);
new Microsoft.AspNetCore.Mvc.Diagnostics.BeforeViewComponentEventData : Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor * Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext * obj -> Microsoft.AspNetCore.Mvc.Diagnostics.BeforeViewComponentEventData
Public Sub New (actionDescriptor As ActionDescriptor, viewComponentContext As ViewComponentContext, viewComponent As Object)
Parameters
- actionDescriptor
- ActionDescriptor
The ActionDescriptor.
- viewComponentContext
- ViewComponentContext
The ViewComponentContext.
- viewComponent
- Object
The ViewComponent.