Esempio n. 1
0
 public TestController(ILogger <TestController> logger, IPhaseSetsGetter phaseSetsGetter, INextImageGetter nextImageGetter, IImageCongruencyGetter imageCongruencyGetter, ITestNameGetter testNameGetter, IImageContextGetter imageContextGetter, IProgressGetter progressGetter, IStanfordRepository stanfordRepository, IResponseFeedbackGetter responseFeedbackGetter, IOptions <Config> config, ITestResponsesRepository testResponsesRepository, ISessionMetaRepository sessionMetaRepository, ICommaDelimitedIntegersCollector commaDelimitedIntegersCollector, IStimuliImageUrlGetter stimuliImageUrlGetter, ITestStartTimeGetter testStartTimeGetter, IReturningUserPhaseDataGetter returningUserPhaseDataGetter, IConfidencesDescriptionGetter confidencesDescriptionGetter, IJudgementsDescriptionGetter judgementsDescriptionGetter, IConfidencesDescriptionsGetter confidencesDescriptionsGetter, ITestInstructionsViewModelGetter testInstructionsViewModelGetter, ISleepQuestionsRepository sleepQuestionsRepository, IObscuredImagesRepository obscuredImagesRepository, IEmailSender emailSender, IHttpContextAccessor httpContextAccessor)
 {
     _logger                          = logger;
     _phaseSetsGetter                 = phaseSetsGetter;
     _nextImageGetter                 = nextImageGetter;
     _imageCongruencyGetter           = imageCongruencyGetter;
     _testNameGetter                  = testNameGetter;
     _imageContextGetter              = imageContextGetter;
     _progressGetter                  = progressGetter;
     _stanfordRepository              = stanfordRepository;
     _responseFeedbackGetter          = responseFeedbackGetter;
     _config                          = config.Value;
     _testResponsesRepository         = testResponsesRepository;
     _sessionMetaRepository           = sessionMetaRepository;
     _commaDelimitedIntegersCollector = commaDelimitedIntegersCollector;
     _stimuliImageUrlGetter           = stimuliImageUrlGetter;
     _testStartTimeGetter             = testStartTimeGetter;
     _returningUserPhaseDataGetter    = returningUserPhaseDataGetter;
     _confidencesDescriptionGetter    = confidencesDescriptionGetter;
     _judgementsDescriptionGetter     = judgementsDescriptionGetter;
     _confidencesDescriptionsGetter   = confidencesDescriptionsGetter;
     _testInstructionsViewModelGetter = testInstructionsViewModelGetter;
     _sleepQuestionsRepository        = sleepQuestionsRepository;
     _obscuredImagesRepository        = obscuredImagesRepository;
     _emailSender                     = emailSender;
     _httpContextAccessor             = httpContextAccessor;
 }
Esempio n. 2
0
 public HomeController(ILogger <HomeController> logger, IStanfordRepository stanfordRepository, IConsentRepository consentRepository, IPSQIRepository psqiRepository, IEpworthRepository epworthRepository, IDemographicsRepository demographicsRepository, ITestNameGetter testNameGetter, IPhaseSetsGetter phaseSetsGetter, IProgressGetter progressGetter, IEncodingFinishedChecker encodingFinishedChecker, IReturningUserPhaseDataGetter returningUserPhaseDataGetter, IParticipantEnrollmentVerifier participantEnrollmentVerifier, ISleepQuestionsRepository sleepQuestionsRepository, IParticipantLanguageQualificationChecker participantLanguageQualificationChecker, IOptions <Config> config)
 {
     _logger                                  = logger;
     _stanfordRepository                      = stanfordRepository;
     _consentRepository                       = consentRepository;
     _psqiRepository                          = psqiRepository;
     _epworthRepository                       = epworthRepository;
     _demographicsRepository                  = demographicsRepository;
     _testNameGetter                          = testNameGetter;
     _phaseSetsGetter                         = phaseSetsGetter;
     _progressGetter                          = progressGetter;
     _encodingFinishedChecker                 = encodingFinishedChecker;
     _returningUserPhaseDataGetter            = returningUserPhaseDataGetter;
     _participantEnrollmentVerifier           = participantEnrollmentVerifier;
     _sleepQuestionsRepository                = sleepQuestionsRepository;
     _participantLanguageQualificationChecker = participantLanguageQualificationChecker;
     _config                                  = config.Value;
 }
 public SleepQuestionsController(ILogger <SleepQuestionsController> logger, ISleepQuestionsRepository sleepQuestionsRepository, ITestNameGetter testNameGetter)
 {
     _logger = logger;
     _sleepQuestionsRepository = sleepQuestionsRepository;
     _testNameGetter           = testNameGetter;
 }