Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ScaleAnswerSetControllerHelper" /> class.
 /// </summary>
 /// <param name="scaleAnswerSetService">The scale answer set 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 ScaleAnswerSetControllerHelper(IScaleAnswerSetService scaleAnswerSetService,
                                       ICareElementContext careElementContext, ITagsService tagsService,
                                       IGlobalSearchCacheHelper globalSearchCacheHelper,
                                       ITagsSearchCacheHelper tagsSearchCacheHelper,
                                       IMediaFileHelper mediaFileHelper
                                       )
 {
     this.scaleAnswerSetService   = scaleAnswerSetService;
     this.careElementContext      = careElementContext;
     this.tagsService             = tagsService;
     this.globalSearchCacheHelper = globalSearchCacheHelper;
     this.tagsSearchCacheHelper   = tagsSearchCacheHelper;
     this.mediaFileHelper         = mediaFileHelper;
 }