BeforeViewEventData Class

Definition

An EventData that occurs before a view.

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

Constructors

BeforeViewEventData(IView, ViewContext)

Initializes a new instance of BeforeViewEventData.

Fields

EventName

The name of the event.

EventNamespace

The namespace of the event.

(Inherited from EventData)

Properties

Count

The event count.

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

The IView.

ViewContext

The ViewContext.

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