Last active
July 21, 2017 07:22
-
-
Save ChengYiWu/d8e86a68c7797367f92b594d251be792 to your computer and use it in GitHub Desktop.
【Design Patterns】Decorator 實作與應用
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Document PrintWord2(IList<PlanModel> plans){ | |
// 產生一份空白文件 | |
Document doc = new Document(); | |
// 產生封面 | |
// ... | |
// 產生空白頁 | |
// ... | |
// 產生附件 | |
// ... | |
// 設定區塊 | |
// ... | |
// 設定頁碼 | |
// ... | |
return doc; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment