Exemple #1
0
 public ChallengeController(ICodeGolfService codeGolfService, ChallengeSetMapper challengeSetMapper, IGameService gameService, IIdentityTools identityTools)
 {
     this.codeGolfService    = codeGolfService;
     this.challengeSetMapper = challengeSetMapper;
     this.gameService        = gameService;
     this.identityTools      = identityTools;
 }
Exemple #2
0
 public GameService(
     ICodeGolfService codeGolfService,
     IAttemptRepository attemptRepository,
     IGameRepository gameRepository,
     IHoleRepository holeRepository,
     ISignalRNotifier signalRNotifier,
     IUserRepository userRepository,
     IChallengeRepository challengeRepository)
 {
     this.codeGolfService     = codeGolfService;
     this.attemptRepository   = attemptRepository;
     this.gameRepository      = gameRepository;
     this.holeRepository      = holeRepository;
     this.signalRNotifier     = signalRNotifier;
     this.userRepository      = userRepository;
     this.challengeRepository = challengeRepository;
 }
Exemple #3
0
 public CodeController(ICodeGolfService codeGolfService)
 {
     this.codeGolfService = codeGolfService;
 }