节点文献

C#委托和事件及其Java模拟

C# Delegate & Event and Simulation with Java

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

【作者】 赵立文贺贵明吴元保

【Author】 ZHAO Li-wen, HE Gui-ming, WU Yuan-bao(College of Computer Science, Wuhan University, Wuhan Hubei 430072, China)

【机构】 武汉大学计算机学院武汉大学计算机学院 湖北武汉430072湖北武汉430072湖北武汉430072

【摘要】 介绍C#语言的两个核心元素委托和事件,探讨其语义和内部实现原理。利用Java与C#的相似性,使用Java的反射API模拟实现C#的委托和事件机制。最后比较了Java和C#的事件结构。

【Abstract】 Delegate and event are two vital elements of C#. In this article,we explain what delegate & event are, how to use them, their meaning and their inner mechanism. After that,with reflection APIs,we simulate them with Java. At last, we compare architecture of event in Java and C#, and discuss their features.’

【关键词】 委托事件反射
【Key words】 delegateeventreflection
  • 【文献出处】 计算机应用 ,Computer Applications , 编辑部邮箱 ,2003年12期
  • 【分类号】TP311.1
  • 【被引频次】9
  • 【下载频次】122
节点文献中: 

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

本文的引文网络