Beispiel #1
0
 public AdminService(
     IHoleRepository holeRepository,
     ISignalRNotifier signalRNotifier,
     IAttemptRepository attemptRepository,
     IUserRepository userRepository,
     IChallengeRepository challengeRepository,
     IGameRepository gameRepository)
 {
     this.holeRepository      = holeRepository;
     this.signalRNotifier     = signalRNotifier;
     this.attemptRepository   = attemptRepository;
     this.userRepository      = userRepository;
     this.challengeRepository = challengeRepository;
     this.gameRepository      = gameRepository;
 }
Beispiel #2
0
 public DashboardService(
     IGameRepository gameRepository,
     IHoleRepository holeRepository,
     ISignalRNotifier signalRNotifier,
     IAttemptRepository attemptRepository,
     IUserRepository userRepository,
     IBestAttemptsService bestAttemptsService,
     IChallengeRepository challengeRepository)
 {
     this.gameRepository      = gameRepository;
     this.holeRepository      = holeRepository;
     this.signalRNotifier     = signalRNotifier;
     this.attemptRepository   = attemptRepository;
     this.userRepository      = userRepository;
     this.bestAttemptsService = bestAttemptsService;
     this.challengeRepository = challengeRepository;
 }
Beispiel #3
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;
 }
Beispiel #4
0
 public AddTestRunHandler(ITestRunsRepository testRunsRepository, ISignalRNotifier signalRNotifier, AutoTestContext autoTestContext)
 {
     this.testRunsRepository = testRunsRepository;
     this.signalRNotifier    = signalRNotifier;
     _autoTestContext        = autoTestContext;
 }
Beispiel #5
0
 public UpdateTestRunHandler(ITestRunsRepository testRunsRepository, ISignalRNotifier signalRNotifier)
 {
     this.testRunsRepository = testRunsRepository;
     this.signalRNotifier    = signalRNotifier;
 }
 public AddNotificationHandler(AutoTestContext autoTestContext, ISignalRNotifier signalRNotifier)
 {
     this.autoTestContext = autoTestContext;
     this.signalRNotifier = signalRNotifier;
 }
Beispiel #7
0
 public ProducerService(ISignalRNotifier notifier, ISignalRPublisher publisher, IServiceBus serviceBus)
 {
     _notifier   = notifier;
     _publisher  = publisher;
     _serviceBus = serviceBus;
 }