特质注册
Estimated reading time: less than 1 minute通过 maplebirch.tool.other.addTraits() 注册自定义特质。
可通过 maplebirch.tool.other.addTraits() 或快捷接口 maplebirchFrameworks.addTraits() 访问。
特质接口
示例
说明
框架对特质添加做了内部解析与去重,避免重复或错误覆盖。maplebirch.tool.other.addTraits 的用法保持不变。
