Esempio n. 1
0
 public AddShareViewModel(AddShareViewModel cpy, IResolver resolver, IEnumerable <AddSecureSubItem> addItems)
     : this(resolver, addItems)
 {
     SearchViewModel   = cpy.SearchViewModel;
     SelectedItems     = cpy.SelectedItems;
     CurrentItemType   = cpy.CurrentItemType;
     IsIndividualItems = cpy.IsIndividualItems;
 }
 public NewShareViewModel(IResolver resolver, AddShareViewModel previousPageViewModel, IEnumerable <AddSecureSubItem> addItems)
 {
     _resolver             = resolver;
     PreviousPageViewModel = previousPageViewModel;
     _pbData      = resolver.GetInstanceOf <IPBData>();
     _addItems    = addItems.ToList();
     BackCommand  = new RelayCommand(OnBackCommandHandler);
     ShareCommand = new RelayCommand(OnShareCommandHandler);
 }