Share via


ViewComponentBeforeViewExecuteEventData Class

Definition

An EventData that occurs before a view is executed.

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

Constructors

ViewComponentBeforeViewExecuteEventData(ActionDescriptor, ViewComponentContext, IView)

Initializes a new instance of ViewComponentBeforeViewExecuteEventData.

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)
View

The IView.

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