读书人

Unity/MEF/Prism解决方案

发布时间: 2012-12-31 11:57:51 作者: rapoo

Unity/MEF/Prism
最近研究Prism4看的云里雾里的

各位给解释下Prism4中的MEF和Unity到底差别在哪里?

如果我想实现模块化、界面逻辑分析、可扩展的应用程序,是不是只用MEF或者Unity加个MVVM模式之类的就可以了?那prism用来干嘛?
[解决办法]
没有研究过Prism4...
[解决办法]
纯顶。。。我学的东西还是太少了。。
[解决办法]
还没接触过,就只知道Unity是个依赖注入的容器。。。
[解决办法]
神马东瞎啊。。。。没玩过
[解决办法]
Unity vs MEF

Unity is mostly used for static dependencies and is more an “internal” technology, meaning outsiders do not need to know that unity is being used in the application.

MEF should be used for dynamic dependencies, it is grate at dynamically loading components and with the use of attributes it make creating application extensions or an application that can be extended by others easy and streamlined.


[解决办法]
没有研究过

读书人网 >.NET

热点推荐