ViewFoundEventData Class

Definition

An EventData that when a view is found.

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

Constructors

ViewFoundEventData(ActionContext, Boolean, ActionResult, String, IView)

Initializes a new instance of AfterViewEventData.

Fields

EventName

The name of the event.

EventNamespace

The namespace of the event.

(Inherited from EventData)

Properties

ActionContext

The ActionContext.

Count

The event count.

(Inherited from EventData)
IsMainPage

true if a main page.

Item[Int32] (Inherited from EventData)
Result

The ActionResult.

View

The IView.

ViewName

The name of the view.

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