Esempio n. 1
0
 public async Task UserSentToGame(INavService NavService)
 {
     hubConnection.On <GameModel>(MessageType.SendToGame, async(game) =>
     {
         Console.WriteLine("I am being sent to the game");
         await NavService.NavigateTo <GameViewModel <GameModel>, GameModel>(game);
     });
 }
Esempio n. 2
0
 void InfoAction()
 {
     _navigationService.NavigateTo("InfoUser", SelectedItem);
 }