Esempio n. 1
0
        private void GetLastGames(object sender, ResponseEventArgs e)
        {
            GetLastGamesResponse response = e.Response as GetLastGamesResponse;

            if (response != null)
            {
                if (response.Games != null)
                {
                    var lastGames = response.Games;
                    foreach (var game in lastGames)
                    {
                        _lastGames.Add(game);
                    }
                }
            }
        }
Esempio n. 2
0
 public void GetStatisticLastGamesCallBack(GetLastGamesResponse response)
 {
     syncContext.Post(new SendOrPostCallback(OnBroadcast <GetLastGamesResponse>), response);
 }