摘要:
Inversion of Control- Dependency Injection- Dependency Lookuploose coupling/maintainability/late bindingabstract factoryunit testcontainer非 DI 的版本底下這段程式碼是 Console 應用程式的進入點:classProgram{staticvoidMain(string[]args){HeavyDutyaTask=newHeavyDuty();aTask.Run();}}Main 函式會先建立類別 HeavyDuty 的執行個體,然後呼叫該物件的 Run 阅读全文
posted @ 2013-11-04 18:56
MinieGoGo
阅读(150)
评论(0)
推荐(0)
浙公网安备 33010602011771号