• 大小: 946KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-13
  • 语言: C#
  • 标签: WPF  MVVM  C#  

资源简介

MVVM是Model、View、ViewModel的简写,这种模式的引入就是使用ViewModel来降低View和Model的耦合,说是降低View和Model的耦合。也可以说是是降低界面和逻辑的耦合,理想情况下界面和逻辑是完全分离的,单方面更改界面时不需要对逻辑代码改动,同样的逻辑代码更改时也不需要更改界面。同一个ViewModel可以使用完全不用的View进行展示,同一个View也可以使用不同的ViewModel以提供不同的操作。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;

namespace CommandTest
{
    /// 
    /// App.xaml 的交互逻辑
    /// 

    public partial class App : Application
    {
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-11-15 11:32  MVVMTest\
     目录           0  2017-11-15 09:00  MVVMTest\.vs\
     目录           0  2017-11-15 09:00  MVVMTest\.vs\MVVMTest\
     目录           0  2017-11-15 09:00  MVVMTest\.vs\MVVMTest\v14\
     文件      236032  2017-11-15 13:35  MVVMTest\.vs\MVVMTest\v14\.suo
     目录           0  2017-11-15 09:00  MVVMTest\CommandTest\
     文件         372  2016-10-15 11:39  MVVMTest\CommandTest\App.xaml
     文件         291  2016-10-15 11:39  MVVMTest\CommandTest\App.xaml.cs
     目录           0  2017-11-15 09:00  MVVMTest\CommandTest\bin\
     目录           0  2017-11-15 09:13  MVVMTest\CommandTest\bin\Debug\
     文件       10240  2017-11-15 10:32  MVVMTest\CommandTest\bin\Debug\CommandTest.exe
     文件       28160  2017-11-15 10:32  MVVMTest\CommandTest\bin\Debug\CommandTest.pdb
     文件       22688  2017-11-15 10:38  MVVMTest\CommandTest\bin\Debug\CommandTest.vshost.exe
     文件         490  2017-03-19 05:00  MVVMTest\CommandTest\bin\Debug\CommandTest.vshost.exe.manifest
     目录           0  2017-11-15 09:13  MVVMTest\CommandTest\bin\Debug\de\
     文件        6656  2010-07-01 13:26  MVVMTest\CommandTest\bin\Debug\de\System.Windows.Interactivity.resources.dll
     目录           0  2017-11-15 09:13  MVVMTest\CommandTest\bin\Debug\en\
     文件        6656  2010-06-21 18:24  MVVMTest\CommandTest\bin\Debug\en\System.Windows.Interactivity.resources.dll
     目录           0  2017-11-15 09:13  MVVMTest\CommandTest\bin\Debug\es\
     文件        6656  2010-07-01 15:01  MVVMTest\CommandTest\bin\Debug\es\System.Windows.Interactivity.resources.dll
     目录           0  2017-11-15 09:13  MVVMTest\CommandTest\bin\Debug\fr\
     文件        6656  2010-07-01 16:40  MVVMTest\CommandTest\bin\Debug\fr\System.Windows.Interactivity.resources.dll
     目录           0  2017-11-15 09:13  MVVMTest\CommandTest\bin\Debug\it\
     文件        6656  2010-07-01 18:19  MVVMTest\CommandTest\bin\Debug\it\System.Windows.Interactivity.resources.dll
     目录           0  2017-11-15 09:13  MVVMTest\CommandTest\bin\Debug\ja\
     文件        7168  2010-07-01 10:15  MVVMTest\CommandTest\bin\Debug\ja\System.Windows.Interactivity.resources.dll
     目录           0  2017-11-15 09:13  MVVMTest\CommandTest\bin\Debug\ko\
     文件        6656  2010-07-01 11:51  MVVMTest\CommandTest\bin\Debug\ko\System.Windows.Interactivity.resources.dll
     文件       16896  2017-11-15 09:00  MVVMTest\CommandTest\bin\Debug\MyMVVM.dll
     文件       60928  2017-11-15 09:00  MVVMTest\CommandTest\bin\Debug\MyMVVM.pdb
     文件       39936  2010-06-21 18:23  MVVMTest\CommandTest\bin\Debug\System.Windows.Interactivity.dll
............此处省略481个文件信息

评论

共有 条评论