码迷,mamicode.com
首页 > 其他好文 > 详细

Dynamic Programming——Runtime Types in Reflection

时间:2015-05-26 17:47:45      阅读:85      评论:0      收藏:0      [点我收藏+]

标签:

Reflection provides classes, such as Type and MethodInfo, to represent types, members, parameters, and other code entities. However, when you use reflection you don‘t work directly with these classes, most of which are abstract . Instead, you work with types provided by the common language runtime (CLR).

For example, when you use the C# typeof operator to obtain a Type object, the object is really a RuntimeType. RuntimeType derives from Type, and provides implementations of all the abstract methods.

These runtime classes are internal. They are not documented separately from their base classes, because their behavior is described by the base class documentation.

Dynamic Programming——Runtime Types in Reflection

标签:

原文地址:http://www.cnblogs.com/johnvwan/p/4530810.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!