public class AppMessenger
Public Class AppMessenger
type AppMessenger = class end
AppMessenger | 初始化 AppMessenger 类的一个新实例 |
AllowMultiple | 允许多广播注册 |
Default | 默认单例实例 |
Add | 添加 |
CanSendMessage | 判断能否触发该消息,意味着该消息是否已经注册。 |
Clear | 清除所有消息 |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
GetAllMessage | 获取所有消息 |
GetHashCode | Serves as the default hash function. (继承自 Object。) |
GetType | Gets the Type of the current instance. (继承自 Object。) |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
Remove(IMessageObject) | 按对象移除 |
Remove(String) | 移除 |
SendAsync(String, Object) | 发送消息 |
SendAsyncT(String, Object) | 发送消息,当多播时,只返回最后一个返回值 |
ToString | Returns a string that represents the current object. (继承自 Object。) |
Map | (由 Mapper 定义。) |
Map | (由 Mapper 定义。) |
MapTTarget | (由 Mapper 定义。) |
Register |
注册消息
(由 AppMessengerExtensions 定义。) |
Register |
注册消息
(由 AppMessengerExtensions 定义。) |
RegisterStatic |
注册类的静态消息
(由 AppMessengerExtensions 定义。) |
RegisterStaticT |
注册类的静态消息
(由 AppMessengerExtensions 定义。) |
ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |
Unregister |
卸载消息
(由 AppMessengerExtensions 定义。) |
Unregister |
移除注册
(由 AppMessengerExtensions 定义。) |