Table of Contents

Class GenericEventArgs<T>

Namespace
Myra.Events
Assembly
Myra.dll

Generic event arguments for passing arbitrary data with an event.

public sealed class GenericEventArgs<T> : MyraEventArgs

Type Parameters

T

The type of data to pass with the event.

Inheritance
GenericEventArgs<T>
Inherited Members

Constructors

GenericEventArgs(T, InputEventType)

Initializes a new instance of the GenericEventArgs<T> class.

public GenericEventArgs(T value, InputEventType eventType)

Parameters

value T

The data to associate with the event.

eventType InputEventType

The type of the input event.

Properties

Data

Gets the data associated with the event.

public T Data { get; }

Property Value

T