示例#1
0
 public CompetitionService(BasketballContext context, IMatchmake matchmake, IGameEngine gameEngine, IGroupsService groupsService)
 {
     _context       = context;
     _groupsService = groupsService;
     _competition   = new Competition.Competition(matchmake, gameEngine);
 }
示例#2
0
 public Competition(IMatchmake matchmake, IGameEngine gameEngine)
 {
     _matchmake  = matchmake;
     _gameEngine = gameEngine;
 }