反射是一种允许用户获得类型信息的C#功能。
术语“反射”源于它的工作方式,Type对象映射它所代表的底层对象。
Using .NET: Avoid Common Performance Pitfalls for Speedier Apps
->When Should You Use Reflection?
when
1.根据契约(contract{interface or base class},与扩展点相关)编程,第三方插件库负责对契约进行实现
2.一个程序集中只调用一部分类
反射是一种允许用户获得类型信息的C#功能。
术语“反射”源于它的工作方式,Type对象映射它所代表的底层对象。
Using .NET: Avoid Common Performance Pitfalls for Speedier Apps
->When Should You Use Reflection?