如何将MEF与WPF和MVVM模式一起使用? [英] How can I use MEF with WPF and the MVVM pattern ?

查看:373
本文介绍了如何将MEF与WPF和MVVM模式一起使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将MEF与WPF和MVVM模式一起使用?

How can I use MEF with WPF and the MVVM pattern ?

推荐答案

前一段时间,我很幸运能够与超级聪明的Marlon Grech合作 - 这项工作的结果是这个 [ ^ ]项目。如果你需要一个使用它的WPF框架,请看看Sacha Barber的优秀 Cinch v2 [ ^ ]。
A while ago, I was lucky enough to work with the super smart Marlon Grech - the result of this work was this[^] project. If you need a WPF framework that uses it, take a look at Sacha Barber''s excellent Cinch v2[^].


在codeplex上查看Prism。

MEF已集成。

http://compositewpf.codeplex.com/ [ ^ ]
Take a look on Prism on codeplex.
MEF is integrated.
http://compositewpf.codeplex.com/[^]


这篇关于如何将MEF与WPF和MVVM模式一起使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆