这个设 计模式叫做模型-视图-控制器(Model-View-Controller,MVC),它试图“把角色分开”。MVC 让负责显示的代码、处理数据的代码、对交互进行响应并驱动变化的代码彼此...
基于2个网页-相关网页
做模型-视图-控制器
Make the model - view - controller
以上为机器翻译结果,长、整句建议使用 人工翻译 。
在绝大多数情况下你不需要在后台代码中做任何事情,因为视图模型负责提供命令并连接视图和控制器。
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.
youdao
应用推荐
模块上移
模块下移
不移动