/// <summary> /// Initializes a new instance of the <see cref="SearchControllerHelper" /> class. /// </summary> /// <param name="cacheProvider">The cache provider.</param> /// <param name="programService">The program service.</param> /// <param name="protocolService">The protocol service.</param> /// <param name="measurementElementsService">The measurement elements service.</param> /// <param name="assessmentElementsService"></param> /// <param name="questionElementService">The question element service.</param> /// <param name="textMediaElementsService">The text media elements service.</param> /// <param name="scaleAnswerSetService">The scale answer set service.</param> /// <param name="selectionAnswerSetService">The selection answer set service.</param> /// <param name="careElementRequestContext">The care element request context.</param> /// <param name="openEndedAnswerSetsService">The open ended answer set service</param> public GlobalSearchCacheHelper( ICacheProvider cacheProvider, IProgramService programService, IProtocolService protocolService, IMeasurementElementsService measurementElementsService, IAssessmentElementsService assessmentElementsService, IQuestionElementService questionElementService, ITextMediaElementsService textMediaElementsService, IScaleAnswerSetService scaleAnswerSetService, ISelectionAnswerSetService selectionAnswerSetService, ICareElementRequestContext careElementRequestContext, IOpenEndedAnswerSetsService openEndedAnswerSetsService ) { this.cacheProvider = cacheProvider; this.programService = programService; this.protocolService = protocolService; this.measurementElementsService = measurementElementsService; this.assessmentElementsService = assessmentElementsService; this.questionElementService = questionElementService; this.textMediaElementsService = textMediaElementsService; this.scaleAnswerSetService = scaleAnswerSetService; this.selectionAnswerSetService = selectionAnswerSetService; this.careElementRequestContext = careElementRequestContext; this.openEndedAnswerSetsService = openEndedAnswerSetsService; }
/// <summary> /// Initializes a new instance of the <see cref="QuestionElementControllerHelper" /> class. /// </summary> /// <param name="questionElementService">The question element service.</param> /// <param name="careElementContext">The care element context.</param> /// <param name="tagsService">The tags service.</param> /// <param name="globalSearchCacheHelper">The global search cache helper.</param> /// <param name="tagsSearchCacheHelper">The tags search cache helper.</param> /// <param name="mediaFileHelper">The audio file helper.</param> public QuestionElementControllerHelper( IQuestionElementService questionElementService, ICareElementContext careElementContext, ITagsService tagsService, IGlobalSearchCacheHelper globalSearchCacheHelper, ITagsSearchCacheHelper tagsSearchCacheHelper, IMediaFileHelper mediaFileHelper ) { this.tagsService = tagsService; this.questionElementService = questionElementService; this.careElementContext = careElementContext; this.globalSearchCacheHelper = globalSearchCacheHelper; this.tagsSearchCacheHelper = tagsSearchCacheHelper; this.mediaFileHelper = mediaFileHelper; }