diff --git a/.obsidian/workspace b/.obsidian/workspace index f8b2bae..0b2fc29 100644 --- a/.obsidian/workspace +++ b/.obsidian/workspace @@ -9,7 +9,7 @@ "state": { "type": "markdown", "state": { - "file": "00. TOP/01. TODO.md", + "file": "02. PARA/03. Resources(資源)/Design Pattern.md", "mode": "source", "source": true } @@ -69,7 +69,7 @@ "state": { "type": "backlink", "state": { - "file": "00. TOP/01. TODO.md", + "file": "02. PARA/03. Resources(資源)/Design Pattern.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -86,7 +86,7 @@ "state": { "type": "outline", "state": { - "file": "00. TOP/01. TODO.md" + "file": "02. PARA/03. Resources(資源)/Design Pattern.md" } } } @@ -116,15 +116,15 @@ }, "active": "cfe19fa2de06a1e6", "lastOpenFiles": [ + "02. PARA/03. Resources(資源)/Design Pattern.md", + "02. PARA/03. Resources(資源)/讀書筆記/20220526 - 深入淺出設計模式.md", "00. TOP/01. TODO.md", "02. PARA/03. Resources(資源)/讀書筆記/20220619 - 精確的力量.md", "02. PARA/03. Resources(資源)/讀書筆記/20210723 - 高手學習.md", - "02. PARA/03. Resources(資源)/讀書筆記/20220526 - 深入淺出設計模式.md", "01. Daily/2022/年度目標.md", "02. PARA/03. Resources(資源)/Tool Setup/Windows Setup.md", "02. PARA/03. Resources(資源)/00. Informations/Datas.md", "02. PARA/03. Resources(資源)/00. Informations/Logitech.md", - "02. PARA/03. Resources(資源)/00. Informations/核芯達.md", - "02. PARA/03. Resources(資源)/docker.md" + "02. PARA/03. Resources(資源)/00. Informations/核芯達.md" ] } \ No newline at end of file diff --git a/02. PARA/03. Resources(資源)/Design Pattern.md b/02. PARA/03. Resources(資源)/Design Pattern.md index 7ff1f3b..df078f9 100644 --- a/02. PARA/03. Resources(資源)/Design Pattern.md +++ b/02. PARA/03. Resources(資源)/Design Pattern.md @@ -142,3 +142,6 @@ detach() 用來移除用戶,也可以叫做 unregister()、remove() 之類。 notify()則是當發生變化時,用來通知所有觀察者的實作。 觀察者方面必須實作 update() 才能收到通知。 + +## 裝飾者模式(Decorator Pattern) +由「裝飾者」 \ No newline at end of file