• 大小: 0.11M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 计算器  MVVM  

资源简介

简单的MVVM计算器实例

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;

namespace Commands
{
    public class DelegateCommand : ICommand
    {
        private Actionject> executeCommand;

        public Actionject> ExecuteCommand
        {
            get { return executeCommand;}
            set { executeCommand = value; }
        }

        private Funcject bool> canExecuteCommand;

        public Funcject bool> CanExecuteCommand
        {
            get { return canExecuteCommand; }
            set { canExecuteCommand = value; }
        }

        public DelegateCommand(Actionject> excuteCommand Funcject bool> canExcuteCommand)
        {
            this.executeCo

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       5632  2015-09-03 09:26  MVVMCaculator\Commands\bin\Debug\Commands.dll

     文件      15872  2015-09-03 09:26  MVVMCaculator\Commands\bin\Debug\Commands.pdb

     文件       2414  2015-05-18 14:15  MVVMCaculator\Commands\Commands.csproj

     文件       1642  2015-05-18 10:58  MVVMCaculator\Commands\DelegateCommand.cs

     文件        338  2015-05-18 10:58  MVVMCaculator\Commands\obj\Debug\Commands.csproj.FileListAbsolute.txt

     文件       1755  2015-05-18 10:51  MVVMCaculator\Commands\obj\Debug\Commands.csprojResolveAssemblyReference.cache

     文件       5632  2015-09-03 09:26  MVVMCaculator\Commands\obj\Debug\Commands.dll

     文件      15872  2015-09-03 09:26  MVVMCaculator\Commands\obj\Debug\Commands.pdb

     文件       6497  2015-05-18 14:15  MVVMCaculator\Commands\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件          0  2015-05-18 10:09  MVVMCaculator\Commands\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2015-05-18 10:09  MVVMCaculator\Commands\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

     文件          0  2015-05-18 10:09  MVVMCaculator\Commands\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

     文件       1428  2015-05-18 10:09  MVVMCaculator\Commands\Properties\AssemblyInfo.cs

     文件       4608  2015-09-03 09:26  MVVMCaculator\Model\bin\Debug\Model.dll

     文件       7680  2015-09-03 09:26  MVVMCaculator\Model\bin\Debug\Model.pdb

     文件        315  2015-05-18 10:51  MVVMCaculator\Model\CaculatorModel.cs

     文件       2407  2015-05-18 14:15  MVVMCaculator\Model\Model.csproj

     文件       6491  2015-05-18 14:15  MVVMCaculator\Model\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        308  2015-05-18 10:51  MVVMCaculator\Model\obj\Debug\Model.csproj.FileListAbsolute.txt

     文件       1755  2015-05-18 10:51  MVVMCaculator\Model\obj\Debug\Model.csprojResolveAssemblyReference.cache

     文件       4608  2015-09-03 09:26  MVVMCaculator\Model\obj\Debug\Model.dll

     文件       7680  2015-09-03 09:26  MVVMCaculator\Model\obj\Debug\Model.pdb

     文件          0  2015-05-18 10:34  MVVMCaculator\Model\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2015-05-18 10:34  MVVMCaculator\Model\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

     文件          0  2015-05-18 10:34  MVVMCaculator\Model\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

     文件       1422  2015-05-18 10:34  MVVMCaculator\Model\Properties\AssemblyInfo.cs

     文件        187  2015-05-18 10:03  MVVMCaculator\MVVMCaculator\App.config

     文件        324  2015-05-18 10:03  MVVMCaculator\MVVMCaculator\App.xaml

     文件        346  2015-05-18 10:03  MVVMCaculator\MVVMCaculator\App.xaml.cs

     文件       5632  2015-09-03 09:26  MVVMCaculator\MVVMCaculator\bin\Debug\Commands.dll

............此处省略93个文件信息

评论

共有 条评论