public sealed class ConsoleActionPublic NotInheritable Class ConsoleAction[<SealedAttribute>]
type ConsoleAction = class end| ConsoleAction | 构造函数 |
| HelpOrder | 帮助信息指令 |
| Add(String, String, Action) | 添加 |
| Add(String, String, FuncTask) | 添加 |
| 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。) |
| RunAsync | 执行,返回值仅表示是否有这个指令,异常获取请使用OnException |
| RunCommandLineAsync | 运行 |
| ShowAll | 显示所有注册指令 |
| ToString | Returns a string that represents the current object. (继承自 Object。) |
| OnException | 执行异常 |
| Map |
将源对象的属性映射到目标对象的属性中。
(由 Mapper 定义。) |
| Map |
将源对象映射到目标类型的实例。
(由 Mapper 定义。) |
| MapTTarget |
将源对象映射到指定目标类型的新实例。
(由 Mapper 定义。) |
| ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |