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实现