问题描述
有人在回答stackoverflow问题中告诉我 MVVM模式的两把大枪"是1)附加行为和2)服务.我认为他的意思是" WPF服务",我发现该短语的使用方式如下:
Someone told me in an answer to a stackoverflow question that the "two big guns" for the MVVM pattern are 1) attached behaviors and 2) services. I assume he means "WPF services" a phrase which I found used in the following ways:
许多这些 WPF服务(解耦事件,丰富的数据绑定, 样式,资源等)是软件 开发最佳实践 融合在一个单一的声明式用户界面中 堆栈.
Many of these WPF services ( de-coupled eventing, rich databinding, styling, resources, etc.) are software development best practices that converge in a single, declarative UI stack.
您将了解WPF的动机,学习XAML的语法, 检查核心编程模型,并调查几种 WPF服务.
You will understand the motivation behind WPF, learn the syntax of XAML, examine the core programming model, and survey several WPF services.
我什至都没有提到WPF书籍,所以这只是一个单词,意思是" WPF功能",例如去耦事件,丰富的数据绑定,样式等.还是"WPF服务"一词后面还有其他内容?
None of the WPF books I have even mention "WPF services" as such, so is this just a word that means "WPF features" such as decoupled eventing, rich databinding, styling, etc. or is there something else behind the term "WPF Services"?
推荐答案
他不是在谈论WPF服务,而是应用程序服务.也就是说,将功能的某些部分抽象为多个VM可以使用的独立服务.
He's not talking about WPF services, but application services. That is, abstracting some portion of functionality into an independent service that multiple VMs can consume.
这篇关于"WPF服务"到底是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!