Ejemplo n.º 1
0
 public NewItemViewModel(
     WindowCreator windowCreator,
     WindowOperationsHandler windowOperationsHandler,
     ItemsRepository itemsRepository) : base(windowCreator, windowOperationsHandler)
 {
     _itemsRepository = itemsRepository;
 }
 public AdminViewModel(
     WindowCreator windowCreator,
     WindowOperationsHandler windowOperationsHandler,
     NewItemViewModel newItemViewModel) : base(windowCreator, windowOperationsHandler)
 {
     _newItemViewModel = newItemViewModel;
 }
Ejemplo n.º 3
0
 protected ViewModel(
     WindowCreator windowCreator,
     WindowOperationsHandler windowOperationsHandler)
 {
     _windowCreator           = windowCreator;
     _windowOperationsHandler = windowOperationsHandler;
 }