public HelpWindowViewModel(Configurator configurator) { _configurator = configurator; }
public MainWindowViewModel(AccountManager accountManager, GameSessionMap gameSessionMap, Configurator configurator) { if (accountManager == null) { throw new ArgumentException("Null AccountManager in MainWindowViewModel()", "accountManager"); } if (gameSessionMap == null) { throw new ArgumentException("Null GameSessionMap in MainWindowViewModel()", "gameSessionMap"); } if (configurator == null) { throw new ArgumentException("Null Configurator in MainWindowViewModel()", "configurator"); } _accountManager = accountManager; _gameSessionMap = gameSessionMap; _configurator = configurator; _accountManager.UserAccounts.CollectionChanged += UserAccountsCollectionChanged; _accountManager.SomeAccountLaunchableChangedEvent += accountManager_SomeAccountLaunchableChangedEvent; NewProfileCommand = new DelegateCommand(CreateNewProfile); NextProfileCommand = new DelegateCommand(GoToNextProfile); PrevProfileCommand = new DelegateCommand(GoToPrevProfile); DeleteProfileCommand = new DelegateCommand(DeleteProfile); EditCharactersCommand = new DelegateCommand(EditCharacters); LoadStatusSymbols(); }