public sealed class MessageInstance : Method
Public NotInheritable Class MessageInstance
Inherits Method
[<SealedAttribute>]
type MessageInstance =
class
inherit Method
end
MessageInstance | MessageInstance |
DynamicBuilderType |
获取调用器的构建类型。
(继承自 Method。) |
HasReturn |
是否具有返回值。当返回值为Task时,也会认为没有返回值。
(继承自 Method。) |
Info |
方法信息
(继承自 Method。) |
MessageObject | 承载消息的实体 |
Name |
获取方法名
(继承自 Method。) |
ReturnType |
返回值类型。
当方法为void或task时,为null 当方法为task泛型时,为泛型元素类型 (继承自 Method。) |
TaskType |
返回值的Task类型。
(继承自 Method。) |
WeakReference | 弱引用。 |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
GetHashCode | Serves as the default hash function. (继承自 Object。) |
GetType | Gets the Type of the current instance. (继承自 Object。) |
Invoke |
执行方法。
(继承自 Method。) |
InvokeAsync(Object, Object) |
异步执行方法。
(继承自 Method。) |
InvokeObjectAsync |
执行方法。
当方法为void或task时,会异常 当方法为task泛型时,会await后的值 支持调用方为UI主线程。 (继承自 Method。) |
ToString | Returns a string that represents the current object. (继承自 Object。) |
Map | (由 Mapper 定义。) |
Map | (由 Mapper 定义。) |
MapTTarget | (由 Mapper 定义。) |
ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |