public NewShareCenterViewModel(IResolver resolver, IEnumerable <AddSecureSubItem> addItems) { _subItemsComponentTree = addItems.ToList(); _pbData = resolver.GetInstanceOf <IPBData>(); PendingSharesByMe = new List <SharedByMeViewModel>(); CurrentSharesByMe = new List <SharedByMeViewModel>(); PendingSharesWithMe = new List <SharedWithMeViewModel>(); CurrentSharesWithMe = new List <SharedWithMeViewModel>(); ChangeShareCommand = new RelayCommand(OnChangeShareCommand); CancelSharingCommand = new RelayCommand(OnCancelSharingCommand); NotificationVm = new BaseNototificationViewModel(); LoadList(); }
public BaseNototificationViewModel(BaseNototificationViewModel cpyObject) { Caption = cpyObject.Caption; OkCaption = cpyObject.OkCaption; CancelCaption = cpyObject.CancelCaption; }