示例#1
0
 public UpdateParticipationSessionFunctionHandler(IParticipationsSessionsRepository repository,
                                                  ICurrentUserService userService, ITimeService timeService)
 {
     _repository  = repository;
     _userService = userService;
     _timeService = timeService;
 }
示例#2
0
 public ConnectUserToParticipationHandler(
     IParticipationsSessionsRepository participationsSessionsRepository, ICurrentUserService currentUserService,
     IDispatcher <PrepareParticipationExecutionDto> prepareParticipationExecutionService,
     IReadParticipationRepository readParticipationRepository)
 {
     _participationsSessionsRepository = participationsSessionsRepository;
     _currentUserService = currentUserService;
     _prepareParticipationExecutionService = prepareParticipationExecutionService;
     _readParticipationRepository          = readParticipationRepository;
 }
 public DisconnectUserFromParticipationHandler(
     IParticipationsSessionsRepository participationsSessionsRepository, ICurrentUserService currentUserService,
     IReadParticipationRepository readParticipationRepository,
     IDispatcher <CleanParticipationExecutionDto> cleanParticipationExecutionService)
 {
     _participationsSessionsRepository = participationsSessionsRepository;
     _currentUserService                 = currentUserService;
     _readParticipationRepository        = readParticipationRepository;
     _cleanParticipationExecutionService = cleanParticipationExecutionService;
 }
 public RunParticipationTestsHandler(IDispatcher <RunParticipationTestsDto> participationExecutionService,
                                     IParticipationsSessionsRepository participationsSessionsRepository,
                                     IReadProgrammingLanguageRepository readProgrammingLanguageRepository,
                                     IReadStepRepository readStepRepository, IReadTestRepository readTestRepository,
                                     ICurrentUserService currentUserService, ITimeService timeService)
 {
     _participationExecutionService     = participationExecutionService;
     _participationsSessionsRepository  = participationsSessionsRepository;
     _readProgrammingLanguageRepository = readProgrammingLanguageRepository;
     _readStepRepository = readStepRepository;
     _readTestRepository = readTestRepository;
     _currentUserService = currentUserService;
     _timeService        = timeService;
 }
 public RemoveFunctionFromParticipationHandler(IParticipationsSessionsRepository repository,
                                               ICurrentUserService userService, ITimeService timeService)
 {
     _repository  = repository;
     _userService = userService;
 }
示例#6
0
 public ElevateSessionUserHandler(IParticipationsSessionsRepository repository, ICurrentUserService userService,
                                  ITimeService timeService)
 {
     _repository  = repository;
     _userService = userService;
 }