Имя | Описание |
---|---|
MessageBase | Base class for all messages broadcasted by the Messenger. You can create your own message types by extending this class. |
NotificationMessage | Passes a string message (Notification) to a recipient. Typically, notifications are defined as unique strings in a static class. To define a unique string, you can use Guid.NewGuid().ToString() or any other unique identifier. |
NotificationMessageAction | Provides a message class with a built-in callback. When the recipient is done processing the message, it can execute the callback to notify the sender that it is done. Use the Execute method to execute the callback. |
NotificationMessageWithCallback | Provides a message class with a built-in callback. When the recipient is done processing the message, it can execute the callback to notify the sender that it is done. Use the Execute method to execute the callback. The callback method has one parameter. NotificationMessageAction and NotificationMessageAction<TCallbackParameter>. |
WeakAction | Stores an Action without causing a hard reference to be created to the Action's owner. The owner can be garbage collected at any time. |