Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
【Design Patterns】Decorator 實作與應用
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