private static void FindAllActiveAvailableGames(ClientInfo clientInfo, JObject jsonObject) { var findAllActiveAvailableGamesResponse = sl.findAllActiveAvailableGames(); SendMessage(clientInfo, findAllActiveAvailableGamesResponse); return; }
public void findActiveAvailableGamesFailTest() { Assert.IsTrue(center.endGame(gamesList[0].gameId).success); sl.removeGame(4); List <TexasHoldemGame> active = (List <TexasHoldemGame>)sl.findAllActiveAvailableGames(); Assert.AreNotEqual(active.Count, gamesList.Count); }
public object findAllActive() { return(sl.findAllActiveAvailableGames()); }