static Program() { var profile = new PlayerProfile(); var stats = new PlayerStats(); var gameList = new List<GameInformation>(); var gameService = new GameServiceClient(); var infoService = new InformationServiceClient(); var state = new BasicObservable<MatchState>(new MatchState()); infoController = new InformationController(infoService, profile, stats, gameList); gameController = new GameController(gameService, state); infoController.GetGameList(); }
static Program() { var profile = new PlayerProfile(); var stats = new PlayerStats(); var gameList = new List <GameInformation>(); var gameService = new GameServiceClient(); var infoService = new InformationServiceClient(); var state = new BasicObservable <MatchState>(new MatchState()); infoController = new InformationController(infoService, profile, stats, gameList); gameController = new GameController(gameService, state); infoController.GetGameList(); }
public GameController(GameServiceClient service, BasicObservable <MatchState> state) { _service = service; gameState = state; }
public GameController(GameServiceClient service, BasicObservable<MatchState> state) { _service = service; gameState = state; }