2011年4月22日

摘要: 题目:猫大叫,两只老鼠开始逃跑,主人醒来,宝宝也醒来了并且哭了起来. 解决方案: 1. 建立模型(目标基类) using System; namespace DelegateEvent { /**//// <summary> /// 在Observer Pattern(观察者模式)中,此类作为所有Subject(目标)的抽象基类 /// 所有要充当Subject的类(在此事例中为"猫")都继承于此类. /// 我们说此类作为模型,用于规划目标(即发布方)所产生的事件,及提供触发 /// 事件的方法. /// 此抽象类无抽象方法,主要是为了不能实例化该类对象,确保 阅读全文
posted @ 2011-04-22 17:57 Gsun 阅读(322) 评论(0) 推荐(0) 编辑
摘要: Message Queuing is a message infrastructure and a development platform for creating distributed messaging applications for the Microsoft Windows Operating System. Message Queuing applications can use the Message Queuing infrastructure to communicate heterogeneous networks and with computers that ma. 阅读全文
posted @ 2011-04-22 11:27 Gsun 阅读(307) 评论(0) 推荐(0) 编辑

导航