Conveys a message from a view model to a consumer (typically, a view) that has subscribed to the Sent event.
More...
|
| virtual void | Send (T messageContent, Action< T > respond) |
| | Calling this method will raise the Sent event with a message content and a callback method that can be used by the View to send a return signal. More...
|
| |
| virtual void | Send (T messageContent) |
| | Raises the Sent event with a MessageArgs instance that encapsulates the messageContent More...
|
| |
| virtual void | Send () |
| | Sends a simple message that does not need responding to. More...
|
| |
|
| EventHandler< MessageArgs< T > > | Sent |
| | Consumers of the view model subscribe to this event if they want to listen for the message. More...
|
| |
|
EventHandler< MessageArgs< T > > | Sent |
| |
Conveys a message from a view model to a consumer (typically, a view) that has subscribed to the Sent event.
- Template Parameters
-
| T | Type of the content of the message (must be a MessageContent object or a descendant. |
Definition at line 31 of file Message.cs.
Calling this method will raise the Sent event with a message content and a callback method that can be used by the View to send a return signal.
- Parameters
-
| messageContent | Content of the message. |
| respond | Callback method that accepts a parameter of same type as messageContent . |
Definition at line 52 of file Message.cs.
Raises the Sent event with a MessageArgs instance that encapsulates the messageContent
- Parameters
-
| messageContent | Derivate of MessageContent that defines the message content. |
Definition at line 80 of file Message.cs.
Sends a simple message that does not need responding to.
Definition at line 88 of file Message.cs.
Consumers of the view model subscribe to this event if they want to listen for the message.
Definition at line 39 of file Message.cs.
The documentation for this class was generated from the following file: