The View Model is essentially the logical representation of the UI.
视图模型本质上是UI的逻辑表示。
Applying Data Annotations to sub properties of the View Model in MVC?
应用数据注释子在MVC中的视图模型属性?
The Razor view model was designed for Web Pages first, then adopted by MVC 3.
Razor视图模式起初是为页面开发模式设计的,后来也被MVC3所采用。
You can define a view model yourself to add customized behavior but you don't need to.
你可以定义你自己的视图模型以添加行为,但你并不需要。
It is very simple and contains exactly one service and one view model with a "mock database".
它非常简单并且只包含一个服务和一个带模拟数据库的视图模型。
It then provides a view model to add structure to the data so it can be aggregated to provide useful meaning.
然后它提供一个视图模型为数据添加结构,因此能够聚合数据得出有用的含义。
The example I've included with this post is view-first. The view is created, then the view model attached.
本文中我使用的示例是视图优先模式。
We’d then indicate that we wanted our view file to be strongly-typed by passing the type of the view model to it
我们然后要求通过传入视图模型类型强命名视图文件。
Aiming to the feature of every view model, we adopt corresponding extension mechanism of UML to describe it.
针对每个视图模型的特点,采用相应的UML扩展机制对其进行描述。
The view model can import the dialog, then based on some change in state or a command, trigger the dialog service.
视图模型导入对话框,然后给予状态改变或是命令来触发对话框服务。
If the view model has not idea of the view, why to has properties in different formats to be used by the view?
如果视图的视图模型不知道,为什么在不同的格式属性视图使用的吗?
It USES metaprogramming to generate the view model and allow you to bind to the objects you define in your controller.
它使用元编程来生成视图模型,使你能够绑定至你在控制器中定义的对象。
The given example shows that the models are valuable by mapping a service instance to multi-view model completely.
并对提出的多视点模型以实际的管理业务为例进行了验证。
If my particular UI for Tic-Tac-Toe has a "Reset" button, there should be an appropriate command on the View Model.
如果我对井字的特定UI“重置”按钮时,应该有一个适当的命令视图模型。
In this case, the view for the contact details can use this same view model, and simply bind to the CurrentContact property.
在这个例子中,联系人详细信息视图可以使用相同的视图模型,并简单绑定到CurrentContact属性。
That view model can have properties for the values the user enters, and any changes can cause a recalculation in another that exposes the control point.
这一观点可有价值的用户输入的性质,和任何的变化会导致另一个公开的控制点重新计算。
This paper discusses the framework of the "4 + 1" view model of architecture based on the new component model, and USES it in the design of a simple library system.
本文讨论基于新的构件模型的“4 +1”体系结构描述模型的结构框架,并将其运用到简化了的图书馆系统的设计中。
The E commerce models of digital library to information users include subscription based sales model, pay per view model, online compliment model and pre paid model.
数字图书馆对信息用户的电子商务模式主要有网上订购、付费浏览、网上赠予以及预付模式。
In order to solve the problems of consistency and of process navigation in the enterprise view model, a kind of modeling structure based on resource navigation is designed.
针对企业视图模型的一致性和非资源驱动的问题,提出了基于资源导航的虚拟企业模型化的方法体系。
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.
它在底层采用特征依赖图保存数据模型,中层用细胞元模型作几何模型,在用户层用视图模型表示。
This text applys with UML technology of Object Oriented to analysis and design, use UML describe a series of view model of the service routine of net software dog in the design processes.
本文采取UML技术入行面向对象的剖析与设计,使用UML描述网络锁服务程序设计入程中的一系列的视图模型。
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.
在底层它用特征依赖图作为数据模型,在中层用细胞元模型作几何模型,在用户层用视图模型表示。
An abstract description of the MRBT service using the connection view model (CVM) is addressed with the redefined call party handling mechanism which presents a technology independent service model.
该文通过连接视图模型对MRBT业务进行了抽象表示,建立了与实现技术无关的MRBT业务模型。
On the basis of building forward looking sonar view model and artificial potential model, decision control of AUV is made, objects are searched through grads approach, a collision free path is planed.
在建立前视声呐视域模型和人工势场模型的基础上,对AUV进行决策控制,通过梯度逼近法对目标进行搜索,快速规划出一条无碰撞的路径。
In the example below you can see how two asynchronous calls (presumably to a database) are in-lined with the constructor of the view-model.
在下面的例子中,你可以看到两个异步调用(可能是到一个数据库的调用)是如何嵌入视图模型的构造函数里的。
Dependency injection lets you weave together the main layers of your application, which, in turn, lets you produce a loosely coupled application with view, model, and controller layers.
依赖注入让您将应用程序的主要层次编织到一起,从而,这使您产生一个具有视图、模型和控制器层的松散耦合应用程序。
Figure 1 shows the logical model view of this architecture.
图1显示了此体系结构的逻辑模型视图。
The logical model view decomposes the functional underpinnings of an SOA solution.
该逻辑模型视图对SOA 解决方案的功能基础进行了分解。
A diagram is a view of the model, but it is not a view of the whole model.
图是模型的视图,但它不是整个模型的视图。
Instead the controller component is responsible for view to model updates, and often for updating the view based on the model data.
控制器组件则负责查看模型更新,并根据模型数据更新视图。
应用推荐