|
Joutsen
v0.4.1
|
An interface representing a general event with payload that can be used to pass information to another object without holding a reference to it. More...
Public Member Functions | |
| void | Fire (TPayload payload) |
| Informs all listeners that the event was fired and passes the payload to them. More... | |
Properties | |
| String | Name [get] |
| The name of the event which will also be passed to the listeners when the event is fired. More... | |
Events | |
| Action< string, TPayload > | Fired |
| The .NET event that will be fired if the event is fired. More... | |
An interface representing a general event with payload that can be used to pass information to another object without holding a reference to it.
| TPayload | the type of the payload of the event. The payload will be transfered to the listeners when the event is fired. |
| void Joutsen.System.Events.Event< TPayload >.Fire | ( | TPayload | payload | ) |
Informs all listeners that the event was fired and passes the payload to them.
| payload | the type of the payload of the event |
Implemented in Joutsen.System.Events.AggregatingEvent< TPayload >, and Joutsen.System.Events.PayloadEvent< TPayload >.
|
get |
The name of the event which will also be passed to the listeners when the event is fired.
| Action<string,TPayload> Joutsen.System.Events.Event< TPayload >.Fired |
The .NET event that will be fired if the event is fired.
1.8.13