Class GenericEventArgs<T>
Generic event arguments for passing arbitrary data with an event.
public sealed class GenericEventArgs<T> : MyraEventArgs
Type Parameters
TThe 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
valueTThe data to associate with the event.
eventTypeInputEventTypeThe type of the input event.
Properties
Data
Gets the data associated with the event.
public T Data { get; }
Property Value
- T