阅读背景:

如何正确地投射通过反射创建的对象

来源:互联网 

I'm trying to wrap my head around reflection, so I decided to add plugin capability to a program that I'm writing. The only way to understand a concept is to get your fingers dirty and write the code, so I went the route of creating a simple interface library consisting of the IPlugin and IHost interfaces, a plugin implementation library of classes that implement IPlugin, and a simple console project that instantiates the IHost implementation class that does simple work with the plugin objects. I'm trying to wrap my head around reflection, s




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: