proxy
摘要:
若需处理需要大量创建时间、复杂或占用内存太多的对象,应使用proxy模式。通过proxy模式 可以将大对象的创建时间推迟至真正使用之时public class HelloPrinterProxy:IHelloPrinter{ string language; IHelloPrinter printer=null; HelloPrinterProxy(string language) ... 阅读全文
posted @ 2005-11-01 13:51 井泉 阅读(277) 评论(0) 推荐(0) 编辑