Generic typed event for specific event data types. More...
Public Member Functions | |
| AirshipEvent (AirshipEventType eventType, T data) | |
| Initializes a new instance of the AirshipEvent class with typed data. | |
| override EventArgs | ToEventArgs () |
| Converts the event data to EventArgs. | |
| Public Member Functions inherited from AirshipDotNet.Events.AirshipEvent | |
| AirshipEvent (AirshipEventType eventType, object? data=null) | |
| Initializes a new instance of the AirshipEvent class. | |
Properties | |
| new T | Data [get] |
| Gets the strongly-typed event data. | |
| Properties inherited from AirshipDotNet.Events.AirshipEvent | |
| AirshipEventType | EventType [get] |
| Gets the event type. | |
| DateTime | Timestamp [get] |
| Gets the timestamp when the event was created. | |
| object? | Data [get] |
| Gets the event data. | |
Generic typed event for specific event data types.
| T | : | EventArgs |
|
inline |
Initializes a new instance of the AirshipEvent class with typed data.
|
inlinevirtual |
Converts the event data to EventArgs.
Reimplemented from AirshipDotNet.Events.AirshipEvent.
|
get |
Gets the strongly-typed event data.