这个视图模型对服务做了一个具体的引用。
The view model here makes a concrete reference to the service.
如何设置在角js的单一视图模型?
信使之间沟通的视图模型是非常有用的。
Messenger is very useful for communicating between view models.
MVVM批作业工艺文件属于视图模型?
该命令将暴露在你的视图模型属性以及。
The Command will be exposed as a Property in your ViewModel as well.
我如何获得自动模型的视图模型属性绑定?
How do I get automatic model binding of this view model property?
我们然后要求通过传入视图模型类型强命名视图文件。
We’d then indicate that we wanted our view file to be strongly-typed by passing the type of the view model to it
应用数据注释子在MVC中的视图模型属性?
Applying Data Annotations to sub properties of the View Model in MVC?
假设MVVM,每个项目将是一个视图模型。
好吧,它只是设置子视图模型在父视图模型。
Ok, so its just about setting the child ViewModel on the parent ViewModel.
你可以定义你自己的视图模型以添加行为,但你并不需要。
You can define a view model yourself to add customized behavior but you don't need to.
视图不支持此视图模型…,片断过多,无法显示。
View does not support this view model... too many segments to display.
在本场景中视图模型完全为模型负责,幸运的是,它并不孤单
The viewmodel becomes wholly responsible for the model in this scenario. Fortunately, it's not alone
它非常简单并且只包含一个服务和一个带模拟数据库的视图模型。
It is very simple and contains exactly one service and one view model with a "mock database".
这样,您将创建一个视图和视图模型之间的强引用。
With this, you create a strong reference between View and ViewModel.
如何让一个视图模型实体使用的名字从一个字符串值吗?
How to get a ViewModel entity by using the name from a string value?
视图模型导入对话框,然后给予状态改变或是命令来触发对话框服务。
The view model can import the dialog, then based on some change in state or a command, trigger the dialog service.
它使用元编程来生成视图模型,使你能够绑定至你在控制器中定义的对象。
It USES metaprogramming to generate the view model and allow you to bind to the objects you define in your controller.
然后它提供一个视图模型为数据添加结构,因此能够聚合数据得出有用的含义。
It then provides a view model to add structure to the data so it can be aggregated to provide useful meaning.
讨论列表中包含了许多关于更多细微差别的事件处理、视图模型等有趣的主题。
The discussion lists contain a lot of interesting topics about more nuanced event-handling, view models, and so on.
针对每个视图模型的特点,采用相应的UML扩展机制对其进行描述。
Aiming to the feature of every view model, we adopt corresponding extension mechanism of UML to describe it.
提出了一种表格的可视视图和逻辑视图模型,并定义了其上的操作模型。
This paper also builds a table model, which consists of visual model and logical model, and defines some operations on it.
运用关系型CAD系统数据结构的独特性,构造面向对象的视图模型。
Obuect-oriented view-model is constructed in this paper by use of special data structure of relational CAD system.
它实现了模型-视图模型-视图-控制器这个看起来在WPF中很流行的模式。
It implements the Model - ViewModel - View - Controller pattern that seems to be popular in WPF.
首先,我们要定义视图模型。之后,要将HTML标记与视图模型进行绑定。
First we'll define the view-model. After that, we will bind the HTML markup to the view-model.
视图模型不仅暴露模型,还有属性(比如状态信息,就像“isbusy”指示符)和命令。
The viewmodel exposes not only models, but other properties (such as state information, like the "is busy" indicator) and commands
它在底层采用特征依赖图保存数据模型,中层用细胞元模型作几何模型,在用户层用视图模型表示。
It USES FDG as data model, cell-based model as geometric model, and view model as user interface, but it is more complex than the former system based on parameter and history.
在底层它用特征依赖图作为数据模型,在中层用细胞元模型作几何模型,在用户层用视图模型表示。
It USES feature dependent graph as data model, cell-based model as geometric model, and view model as user interface, but it is more complex than the former system based on parameter and history.
创建形成年代和叫他们的观点,然后将UI元素绑定到属性在其他类你叫“视图模型”和你的大部分。
Create Forms and call them Views, then bind the UI elements to properties in other classes you call "ViewModels" and you're most of the way there.
在绝大多数情况下你不需要在后台代码中做任何事情,因为视图模型负责提供命令并连接视图和控制器。
In virtually all cases you shouldn't need to do anything in the code behind because the ViewModel takes care of providing the commands and linking between the view and the controller.
应用推荐