**在對象中生成 Method 數組:**
- 把該對象 base 中的所有 FuncObj 與 當前 this 作為參數生成 Method,并且形成 MethodMap 寫入當前對象。
- 默認不生成Meta方法。
- 主要用于函數式編程中傳遞方法。
```autohotkey
loadMethod(this)
```
### 參數 Parameters:
- this - 方法的this參數
### 返回 Returns:
null
### 拋出異常 Throws:
- null
### 示例 Example
```autohotkey
class Test{
mes := "Test!"
__New(){
loadMethod(this)
return this
}
A(){
LogPrintln(this.mes,"this.mes >>>")
}
}
theObj := new Test()
theObj.Method.A()
theAct:=theObj.Method.A
%theAct%()
```
```autohotkey
"InitFunc運行中" >>>InitFunc運行中
this.mes >>>Test!
this.mes >>>Test!
```
- 指南 (README)
- 常見問題 (FAQ)
- 更新歷史(CHANGELOG)
- 貢獻指南 (CONTRIBUTING)
- 開源協議 (LICENCE)
- 鳴謝 (ACKNOWLEDGEMENT)
- 文檔模板 (TEMPLATE)
- 新手指南(BEGINNER_GUIDE)
- 語法高亮(HIGHLIGHTING)
- Class
- _Container
- _EX
- _List
- _Map
- _Win
- _Wins
- BeanEnum
- HotString
- HotStringMaps
- InvisibleCharacter
- JSON
- JsonFile
- Method
- ObservableMap
- ObservableObj
- WinEvent
- Timer
- MesToast
- APPLocker
- AutoClassify
- Everything
- Function
- Ini
- AutoInputBox
- ParaChecker
- PathObj
- RunningSpeedTest
- Script
- Switcher
- Stack
- TimeChecker
- Type
- UMSS
- Function
- assert()
- Analyze()
- AnalyzeClassName()
- AutoBind()
- bulkMoveFile()
- ExcelToList()
- getClass()
- getCurrentTime()
- getFunc()
- Instanof()
- InstanceCheck()
- loadMethod()
- LogPrintln()
- rawCall()
- RandomStr()
- showObj()
- Type()
- throwWithSt()
- UseCMD()
- ObjDump()
- Test
- ObjLoad()
- StringMethod
- TypeClass
- MapFactory()