SimpleMVVM:简单的Microsoft MVVM工具包示例

上传者: 42139302 | 上传时间: 2022-04-12 14:19:25 | 文件大小: 208KB | 文件类型: ZIP
C#
简单的Microsoft MVVM工具包示例 使用Microsoft的MVVM Toolkit的POC最小但可行的MVVM应用程序。 描述: 该项目包含的功能可以弥补Microsoft MVVM Toolkit的某些局限性。 该演示应用程序既简单又易于消化,但又足以代表现实世界中的MVVM使用情况。 在评估MVVM Toolkit使用情况的辅助方法之外,该项目还尝试以最小化差异的方式在WinUI 3和UWP之间共享代码。 如果您看到合并方面有待改进的地方,请添加一个问题。 学分 MVVM和Toolkit想法: : : 屏幕截图 笔记 有什么限制? 持久地,当您创建一个新的ViewModel时,您必须记住将其连接到您的Ioc中。 大多数MVVM框架都有此限制。 解决这个小细节的简单方法是使用如下所示的属性: [RegisterWithIoc(InstanceMod

文件下载

资源详情

[{"title":"( 79 个子文件 208KB ) SimpleMVVM:简单的Microsoft MVVM工具包示例","children":[{"title":"SimpleMVVM-master","children":[{"title":".gitignore <span style='color:#111;'> 5.61KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false},{"title":"SimpleMVVM.Models","children":[{"title":"Credential.cs <span style='color:#111;'> 802B </span>","children":null,"spread":false},{"title":"SimpleMVVM.Models.csproj <span style='color:#111;'> 288B </span>","children":null,"spread":false}],"spread":true},{"title":"SimpleMVVM.Services","children":[{"title":"Constants","children":[{"title":"SettingsKeys.cs <span style='color:#111;'> 368B </span>","children":null,"spread":false}],"spread":true},{"title":"RegisterWithIocAttribute.cs <span style='color:#111;'> 659B </span>","children":null,"spread":false},{"title":"IClipboardService.cs <span style='color:#111;'> 812B </span>","children":null,"spread":false},{"title":"IUserNotificationService.cs <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"Messages","children":[{"title":"ConfirmMessage.cs <span style='color:#111;'> 292B </span>","children":null,"spread":false},{"title":"ShellStateMessage.cs <span style='color:#111;'> 428B </span>","children":null,"spread":false}],"spread":true},{"title":"SimpleMVVM.Services.csproj <span style='color:#111;'> 321B </span>","children":null,"spread":false},{"title":"ISettingsService.cs <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"ILoggingService.cs <span style='color:#111;'> 119B </span>","children":null,"spread":false},{"title":"IInDesignModeService.cs <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"DebugLogger.cs <span style='color:#111;'> 221B </span>","children":null,"spread":false}],"spread":true},{"title":"HomeView.png <span style='color:#111;'> 46.66KB </span>","children":null,"spread":false},{"title":"SimpleMVVM.Uwp.Services","children":[{"title":"ClipboardService.cs <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"SimpleMVVM.Uwp.Services.rd.xml <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"UserNotificationService.cs <span style='color:#111;'> 8.32KB </span>","children":null,"spread":false},{"title":"NavigationService.cs <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"SettingsService.cs <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"InDesignModeService.cs <span style='color:#111;'> 254B </span>","children":null,"spread":false},{"title":"SimpleMVVM.Uwp.Services.csproj <span style='color:#111;'> 7.13KB </span>","children":null,"spread":false}],"spread":true},{"title":".gitattributes <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"WinUI.png <span style='color:#111;'> 22.18KB </span>","children":null,"spread":false},{"title":"SimpleMVVM.WinUI.Services","children":[{"title":"SimpleMVVM.WinUI.Services.csproj <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"SimpleMVVM","children":[{"title":"SimpleMVVM (Package)","children":[{"title":"Package.appxmanifest <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"SimpleMVVM (Package).wapproj <span style='color:#111;'> 3.14KB </span>","children":null,"spread":false},{"title":"build","children":[{"title":"Microsoft.WinUI.AppX.targets <span style='color:#111;'> 14.28KB </span>","children":null,"spread":false}],"spread":false},{"title":"Images","children":[{"title":"SplashScreen.scale-200.png <span style='color:#111;'> 7.52KB </span>","children":null,"spread":false},{"title":"Square150x150Logo.scale-200.png <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"Wide310x150Logo.scale-200.png <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false},{"title":"Square44x44Logo.targetsize-24_altform-unplated.png <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"Square44x44Logo.scale-200.png <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"StoreLogo.png <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"LockScreenLogo.scale-200.png <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"SimpleMVVM","children":[{"title":"SimpleMVVM.csproj <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false},{"title":"Views","children":[{"title":"ShellView.xaml <span style='color:#111;'> 3.61KB </span>","children":null,"spread":false},{"title":"ShellView.xaml.cs <span style='color:#111;'> 821B </span>","children":null,"spread":false}],"spread":false},{"title":"app.manifest <span style='color:#111;'> 724B </span>","children":null,"spread":false},{"title":"App.xaml <span style='color:#111;'> 631B </span>","children":null,"spread":false},{"title":"App.xaml.cs <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"ListView.png <span style='color:#111;'> 70.14KB </span>","children":null,"spread":false},{"title":"Simple MVVM App Demo.sln <span style='color:#111;'> 15.06KB </span>","children":null,"spread":false},{"title":"SimpleMVVM.ViewModels","children":[{"title":"SimpleMVVM.ViewModels.csproj <span style='color:#111;'> 485B </span>","children":null,"spread":false},{"title":"AboutViewModel.cs <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"CredentialsListViewModel.cs <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"ForceLoad.cs <span style='color:#111;'> 294B </span>","children":null,"spread":false},{"title":"SettingsViewModel.cs <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"HomeViewModel.cs <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"SimpleMVVMuwp","children":[{"title":"Assets","children":[{"title":"SplashScreen.scale-200.png <span style='color:#111;'> 7.52KB </span>","children":null,"spread":false},{"title":"Square150x150Logo.scale-200.png <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"Wide310x150Logo.scale-200.png <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false},{"title":"Square44x44Logo.targetsize-24_altform-unplated.png <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"Square44x44Logo.scale-200.png <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"StoreLogo.png <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"LockScreenLogo.scale-200.png <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false}],"spread":false},{"title":"Properties","children":[{"title":"Default.rd.xml <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false}],"spread":false},{"title":"Converters","children":[{"title":"BoolToVisibilityConverter.cs <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false}],"spread":false},{"title":"ViewModels","children":[{"title":"ShellViewModel.cs <span style='color:#111;'> 5.06KB </span>","children":null,"spread":false}],"spread":false},{"title":"SimpleMVVMuwp.csproj <span style='color:#111;'> 10.15KB </span>","children":null,"spread":false},{"title":"Package.appxmanifest <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"Helpers","children":[{"title":"TitleBarHelper.cs <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"GlobalVariables.cs <span style='color:#111;'> 515B </span>","children":null,"spread":false}],"spread":false},{"title":"Views","children":[{"title":"SettingsView.xaml <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"HomeView.xaml.cs <span style='color:#111;'> 555B </span>","children":null,"spread":false},{"title":"CredentialsListView.xaml.cs <span style='color:#111;'> 600B </span>","children":null,"spread":false},{"title":"AboutView.xaml.cs <span style='color:#111;'> 857B </span>","children":null,"spread":false},{"title":"CredentialsListView.xaml <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"SettingsView.xaml.cs <span style='color:#111;'> 571B </span>","children":null,"spread":false},{"title":"ShellView.xaml <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false},{"title":"AboutView.xaml <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"ShellView.xaml.cs <span style='color:#111;'> 778B </span>","children":null,"spread":false},{"title":"HomeView.xaml <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false}],"spread":false},{"title":"Behaviors","children":[{"title":"EventToCommandBehavior.cs <span style='color:#111;'> 4.43KB </span>","children":null,"spread":false}],"spread":false},{"title":"App.xaml <span style='color:#111;'> 358B </span>","children":null,"spread":false},{"title":"App.xaml.cs <span style='color:#111;'> 5.64KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明