Share via


BeforeViewComponentEventData Class

Definition

An EventData that occurs before a ViewComponent.

public ref class BeforeViewComponentEventData sealed : Microsoft::AspNetCore::Mvc::Diagnostics::EventData
public sealed class BeforeViewComponentEventData : Microsoft.AspNetCore.Mvc.Diagnostics.EventData
type BeforeViewComponentEventData = class
    inherit EventData
Public NotInheritable Class BeforeViewComponentEventData
Inherits EventData
Inheritance
BeforeViewComponentEventData

Constructors

BeforeViewComponentEventData(ActionDescriptor, ViewComponentContext, Object)

Initializes a new instance of BeforeViewComponentEventData.

Fields

EventName

The name of the event.

EventNamespace

The namespace of the event.

(Inherited from EventData)

Properties

ActionDescriptor

The ActionDescriptor.

Count

The event count.

(Inherited from EventData)
Item[Int32] (Inherited from EventData)
ViewComponent

The view component.

ViewComponentContext

The ViewComponentContext.

Explicit Interface Implementations

IEnumerable.GetEnumerator() (Inherited from EventData)
IEnumerable<KeyValuePair<String,Object>>.GetEnumerator() (Inherited from EventData)
IReadOnlyCollection<KeyValuePair<String,Object>>.Count (Inherited from EventData)
IReadOnlyList<KeyValuePair<String,Object>>.Item[Int32] (Inherited from EventData)

Applies to