MVVM 基础与 MVVM 工具包

发布于 2024-08-04 05:24:36 字数 253 浏览 3 评论 0原文

有人可以解释一下 MVVM FoundationMVVM 工具包?他们似乎有很多共同点。

Can someone explain the differences between the MVVM Foundation and the MVVM Toolkit? They seem to have a lot in common.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

罪歌 2024-08-11 05:24:36

MVVM Foundation 由个人创建和维护,而 MVVM Toolkit 是 Microsoft 人员开发的更大软件包的一部分。我并不是说哪个更好——只是指出这个事实。

MVVM Foundation is created and maintained by single person while MVVM Toolkit is part of a much larger package developed by people from Microsoft. I'm not saying which is the better - just pointing out this fact.

此生挚爱伱 2024-08-11 05:24:36

MVVM Foundation 是一个轻薄、简单、开源的 MVVM 架构库。它包括 INotifyPropertyChanged 和绑定到命令所需的大量基本管道代码。它最有用的功能是 Wpf 和 Silverlight 的中介模式实现,它允许视图模型之间的弱引用事件,如果您使用 MVVM,这是必不可少的。我在所有 Silverlight 项目中都使用过它。

MVVM Foundation is a thin, simple, open source MVVM architecture library. It includes alot of the basic plumbing code required for INotifyPropertyChanged and binding to Commands. Its most useful feature is the Mediator pattern implementation for both Wpf and Silverlight, which allows weak reference eventing between view models, which is indespensible if you're using MVVM. I've used it in all my Silverlight projects.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文