BeforeViewComponentEventData Constructor

Definition

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.

Applies to