节点文献

Observer模式分析及其在.net中的改进

Analysis on Observer Pattern and Improvement in Dotnet Framework

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 张振兴宋雨韩立森刘建峰

【Author】 ZHANG Zhenxing,SONG Yu,HAN Lisen,LIU Jianfeng (Dept. of Computer Science and Engineering,North China Electric Power University,Baoding 071003,China)

【机构】 华北电力大学计算机科学与工程系华北电力大学计算机科学与工程系 河北保定071003河北保定071003河北保定071003

【摘要】 介绍了设计模式的概念,分析了一种常见的模式—观察者模式。给出了观察者模式的传统的实现方法,并分析了它的缺点。利用.net框架中的代理和事件技术对观察者模式进行了改进,从而简化了程序的开发难度和出现错误的概率,提高了系统的灵活性。

【Abstract】 Introduces the concept of design patterns, and analyses a most common pattern, i.e. observer pattern.Presents a traditional implementation of observer pattern,and analyses its defects.Finally,Improves the pattern by means of delegate and event in the dotnet framework,which greatly reduces the difficulties and errors in development process,and enhances the flexibility of the system.

  • 【文献出处】 微机发展 ,Microcomputer Development , 编辑部邮箱 ,2003年08期
  • 【分类号】TP311.52
  • 【被引频次】6
  • 【下载频次】78
节点文献中: 

本文链接的文献网络图示:

本文的引文网络