Fork me on GitHub

动态方法和反射

.net 2.0和.net 1.x相比在反射方面加强了很多,动态方法是.net 2.0新增的内容.具体参看MSDN 如何:定义和执行动态方法 
卢彦 在codeproject上面发表了一篇相关文章A General Fast Method Invoker
今天在浏览http://www.codeplex.com 更是看到一个Dynamic Reflection Library ,这个项目对于我们应用反射和动态方法大有裨益.这个项目的首页的下方链接许多相关的文章,我把他也转载过来,如果你在项目大量使用或者是重要关键点使用了反射技术,好好的研究一下这些文章和这个项目.
Dynamic method calls:
http://musingmarc.blogspot.com/2006/07/power-of-generics-compels-you-power-of.html
http://musingmarc.blogspot.com/2006/07/updated-files-for-dynamic-method.html
http://musingmarc.blogspot.com/2006/07/things-to-remember-when-creating.html
http://musingmarc.blogspot.com/2006/08/how-to-do-late-dynamic-method-creation.html

DynamicCompare:
http://musingmarc.blogspot.com/2006/02/dynamic-sorting-of-objects-using.html
http://musingmarc.blogspot.com/2006/03/extending-dynamic-sorting-of-objects.html

Where it all started:
http://www.codeproject.com/dotnet/dynamiclistsorting.asp
http://msdn.microsoft.com/msdnmag/issues/05/07/Reflection/

posted @ 2006-10-02 19:03  张善友  阅读(3238)  评论(2编辑  收藏  举报