public SimpleCommandsPlugin(IDataStore dataStore,
                             ICommandsSet commandsSet, IMainMenuItemsSet menuItemsSet)
 {
     _dataStore    = dataStore;
     _commandsSet  = commandsSet;
     _menuItemsSet = menuItemsSet;
 }
Ejemplo n.º 2
0
 public MainViewModel(AccountsViewModel accountsViewModel,
                      IMainMenuItemsSet mainMenuItemsSet,
                      IDataStore dataStore)
 {
     _accountsViewModel        = accountsViewModel;
     _mainMenuItemsSet         = mainMenuItemsSet;
     _dataStore                = dataStore;
     ShowAccountsWindowCommand = new ActionCommand(ShowAccountsWindow);
 }