示例#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;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SelectionAnswerSetsControllerHelper" /> class.
 /// </summary>
 /// <param name="selectionAnswerSetService">The selection answer set service.</param>
 /// <param name="careElementContext">The care element context.</param>
 /// <param name="contentStorage">The content storage.</param>
 /// <param name="globalSearchCacheHelper">The global search cache helper.</param>
 /// <param name="tagsSearchCacheHelper">The tags search cache helper.</param>
 /// <param name="tagsService">The tags service.</param>
 /// <param name="mediaFileHelper">The audio file helper.</param>
 public SelectionAnswerSetsControllerHelper(
     ISelectionAnswerSetService selectionAnswerSetService,
     ICareElementContext careElementContext,
     IContentStorage contentStorage,
     IGlobalSearchCacheHelper globalSearchCacheHelper,
     ITagsSearchCacheHelper tagsSearchCacheHelper,
     ITagsService tagsService,
     IMediaFileHelper mediaFileHelper
     )
 {
     this.selectionAnswerSetService = selectionAnswerSetService;
     this.careElementContext        = careElementContext;
     this.contentStorage            = contentStorage;
     this.globalSearchCacheHelper   = globalSearchCacheHelper;
     this.tagsSearchCacheHelper     = tagsSearchCacheHelper;
     this.tagsService     = tagsService;
     this.mediaFileHelper = mediaFileHelper;
 }