public DeviceListViewModel()
 {
     _selectDeviceCommandProxy = new ProxyRelayCommand(SelectDevice);
     CloseCommand        = new GalaSoft.MvvmLight.CommandWpf.RelayCommand <DeviceExtractionAdorner>(Close);
     _moveToCommandProxy = new ProxyRelayCommand <DeviceExtractionAdorner>(MoveTo);
     _deleteCommandProxy = new ProxyRelayCommand <DeviceExtractionAdorner>(Delete);
     PopupCommand        = new GalaSoft.MvvmLight.CommandWpf.RelayCommand <DeviceExtractionAdorner>(Popup);
     MessageAggregation.RegisterGeneralMsg <object>(this, ExportKeys.DeviceWindowClosedMsg, (d) => BackToList(d.Parameters as DeviceExtractionAdorner));
 }
 public UserListViewModel()
 {
     _addProxyCommand    = new ProxyRelayCommand(Add);
     _removeProxyCommand = new ProxyRelayCommand <UserInfoModel>(Remove);
     _updateProxyCommand = new ProxyRelayCommand <UserInfoModel>(Update);
     _searchProxyCommand = new ProxyRelayCommand <String>(Search);
     SelectAllCommand    = new GalaSoft.MvvmLight.CommandWpf.RelayCommand <Boolean>(SelectAll, (b) => Users != null && Users.Count != 0);
     SelectCommand       = new GalaSoft.MvvmLight.CommandWpf.RelayCommand <Boolean>(Select);
     _removeBatchCommand = new ProxyRelayCommand(RemoveBatch);
 }
 public CaseListViewModel()
 {
     FilterArgs               = new CaseFilterArgs();
     _openCommandProxy        = new ProxyRelayCommand <RecentCaseEntityModel>(Open);
     _removeCommandProxy      = new ProxyRelayCommand <CaseItem>(Remove);
     _searchCommandProxy      = new ProxyRelayCommand(Search);
     SelectAllCommand         = new GalaSoft.MvvmLight.CommandWpf.RelayCommand <Boolean>(SelectAll, (b) => Items != null && Items.Count != 0);
     SelectCommand            = new GalaSoft.MvvmLight.CommandWpf.RelayCommand <Boolean>(Select);
     _removeBatchCommandProxy = new ProxyRelayCommand(RemoveBatch);
 }