MVVM 模式有哪些功能和扩展?

发布于 2024-09-30 20:35:14 字数 450 浏览 0 评论 0原文

MVVM 模式有哪些功能和扩展? 我注意到有很多 MVVM 框架,尽管存在一些差异,但它们都共享相同的概念。我不会问有什么区别,但是我想创建 MVVM 模式的关键功能/扩展的一般列表,这将为在不同框架或自己创建的 MVVM 模式之间进行选择时提供一个良好的起点。 请解释一下您提到的功能。为了弄清楚这个问题,我将从我自己的知识开始。当我得到答案时,我会完成这个列表。

模式

  • ObservableCollection
  • INotifyPropertyChanged
  • ICommand
  • 调解器
  • 行为(System.Windows.Interactivity)

结构

  • 模型
  • 视图
  • 模型模型视图

Which are MVVM pattern features and extensions?
As I have noticed there are many MVVM frameworks out there, and all share the same concept, even though there are some differences. I won’t ask what the differences are, however I would like to create a general list of key features/extensions for MVVM pattern that will provide a good starting point when choosing between different frameworks or own created MVVM pattern .
Please explain the feature you are mentioning. For making the question clear I’ll start with my own knowledge. I’ll complete the list as I get answers.

Patterns

  • ObservableCollection
  • INotifyPropertyChanged
  • ICommand
  • Mediator
  • Behaviours(System.Windows.Interactivity)

Structure

  • Model
  • ViewModel
  • ModelView

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

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

发布评论

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

评论(1

冬天的雪花 2024-10-07 20:35:14

行为(System.Windows.Interactivity)在编写 mvvm 时非常有用。那里有很多。

Behaviours(System.Windows.Interactivity) are very usefull when coding mvvm. there are a lot out there.

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