示例#1
0
 public void Refresh()
 {
     if (GetGamesCommand.CanExecute(this))
     {
         GetGamesCommand.Execute(this);
     }
 }
示例#2
0
 public GamesViewModel(IGamesService service)
 {
     GetGamesCommand  = new GetGamesCommand(service);
     SaveGamesCommand = new SaveGamesCommand(service);
 }