栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > .Net

2021-10-03 WPF上位机 57-MvvmLight的主要程序库

.Net 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

2021-10-03 WPF上位机 57-MvvmLight的主要程序库

MvvmLight的主要程序库

1、GalaSoft.MvvmLight.dll
主要命名空间:
GalaSoft.MvvmLight:最顶层的命名空间,MvvmLight的主体,核心功能
主要对象:ObservableObject、ViewModelBase(实现数据通知相关的内容)、ICleanup
GalaSoft.MvvmLight.Command:主要包含依赖命令的定义
主要对象:RelayCommand、RelayCommand<> 对Icommand的封装
GalaSoft.MvvmLight.Helpers:框架辅助类,供框架内部使用
GalaSoft.MvvmLight.Messaging:消息类,提供全局的消息通知,可以理解为全局的Event事件,
主要对象:Messenger、 NotificationMessage
GalaSoft.MvvmLight.Views:与应用里面的View紧密结合
主要对象:IDialogService、 INavigationService

2、GalaSoft.MvvmLight.Extras.dll
主要命名空间:GalaSoft.MvvmLight.IoC:依赖注入使用的容器
主要对象: ISimpleIoc、SimpleIoC实现

3、GalaSoft.MvvmLight.Platform.dll
主要命名空间:
GalaSoft.MvvmLight.Command
主要对象:事件绑定时候,需要传递事件参数EventArgs:EventToCommand
GalaSoft.MvvmLight.Threading
主要对象: DispatcherHelper

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/984364.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号