public LoadGameScreenViewModel(IMessenger messenger) { MessengerInstance = messenger; DeleteSaveInViewMessage.Register(MessengerInstance, this, item => { Saves.Remove(item); }); // disconnect the messenger of this one from the messenger of the game screen BoardViewModel = new BoardViewModel(new Messenger(), MockUtil.AnyGame(7, 0).State) { UnlockedPlayer = null }; BackToMainMenuCommand = new RelayCommand(() => ShowMainMenuMessage.Send(MessengerInstance)); }