示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MediaControllerHelper" /> class.
 /// </summary>
 /// <param name="mediaService">The media service.</param>
 /// <param name="contentStorage">The content storage.</param>
 /// <param name="tagsService">The tags service.</param>
 /// <param name="tagsSearchCacheHelper">The tags search cache helper.</param>
 public MediaControllerHelper(
     IMediaService mediaService,
     IContentStorage contentStorage,
     ITagsService tagsService,
     ITagsSearchCacheHelper tagsSearchCacheHelper
     )
 {
     this.mediaService          = mediaService;
     this.contentStorage        = contentStorage;
     this.tagsService           = tagsService;
     this.tagsSearchCacheHelper = tagsSearchCacheHelper;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProgramControllerHelper" /> class.
 /// </summary>
 /// <param name="programService">The program service.</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="protocolService">The protocol service.</param>
 public ProgramControllerHelper(
     IProgramService programService,
     ITagsService tagsService,
     IGlobalSearchCacheHelper globalSearchCacheHelper,
     ITagsSearchCacheHelper tagsSearchCacheHelper,
     IProtocolService protocolService
     )
 {
     this.programService          = programService;
     this.tagsService             = tagsService;
     this.globalSearchCacheHelper = globalSearchCacheHelper;
     this.tagsSearchCacheHelper   = tagsSearchCacheHelper;
     this.protocolService         = protocolService;
 }
示例#3
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;
 }
示例#4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProtocolsControllerHelper" /> class.
 /// </summary>
 /// <param name="protocolService">The protocol service.</param>
 /// <param name="tagsService">The tags service.</param>
 /// <param name="careElementContext">The care element context.</param>
 /// <param name="globalSearchCacheHelper">The global search cache helper.</param>
 /// <param name="tagsSearchCacheHelper">The tags search cache helper.</param>
 public ProtocolsControllerHelper(
     IProtocolService protocolService,
     ITagsService tagsService,
     ICareElementContext careElementContext,
     IGlobalSearchCacheHelper globalSearchCacheHelper,
     ITagsSearchCacheHelper tagsSearchCacheHelper
     )
 {
     this.protocolService         = protocolService;
     this.tagsService             = tagsService;
     this.careElementContext      = careElementContext;
     this.globalSearchCacheHelper = globalSearchCacheHelper;
     this.tagsSearchCacheHelper   = tagsSearchCacheHelper;
 }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TextMediaElementsControllerHelper" /> class.
 /// </summary>
 /// <param name="textMediaElementsService">The text media elements service.</param>
 /// <param name="tagsService">The tags service.</param>
 /// <param name="mediaService">The media 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 TextMediaElementsControllerHelper(
     ITextMediaElementsService textMediaElementsService,
     ITagsService tagsService,
     IMediaService mediaService,
     IGlobalSearchCacheHelper globalSearchCacheHelper,
     ITagsSearchCacheHelper tagsSearchCacheHelper,
     IMediaFileHelper mediaFileHelper
     )
 {
     this.textMediaElementsService = textMediaElementsService;
     this.tagsService             = tagsService;
     this.mediaService            = mediaService;
     this.globalSearchCacheHelper = globalSearchCacheHelper;
     this.tagsSearchCacheHelper   = tagsSearchCacheHelper;
     this.mediaFileHelper         = mediaFileHelper;
 }
示例#6
0
 /// <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;
 }
 /// <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;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TagsControllerHelper" /> class.
 /// </summary>
 /// <param name="tagsSearchCacheHelper">The tags search cache helper.</param>
 public TagsControllerHelper(ITagsSearchCacheHelper tagsSearchCacheHelper)
 {
     this.tagsSearchCacheHelper = tagsSearchCacheHelper;
 }