Exemple #1
0
 public HtmlFieldDisplayDriver(
     IHtmlSanitizerService htmlSanitizerService,
     IStringLocalizer <HtmlFieldDisplayDriver> localizer,
     AttachedMediaToContentItemService attachedMediaToContentItemService)
 {
     _htmlSanitizerService = htmlSanitizerService;
     S = localizer;
     _attachedMediaToContentItemService = attachedMediaToContentItemService;
 }
Exemple #2
0
 public HtmlBodyPartDisplayDriver(
     IHtmlSanitizerService htmlSanitizerService,
     IContentDefinitionManager contentDefinitionManager,
     AttachedMediaToContentItemService attachedMediaToContentItemService,
     IStringLocalizer <HtmlBodyPartDisplayDriver> localizer)
 {
     _htmlSanitizerService              = htmlSanitizerService;
     _contentDefinitionManager          = contentDefinitionManager;
     _attachedMediaToContentItemService = attachedMediaToContentItemService;
     S = localizer;
 }
 public CommentFilesApiController(AttachedMediaToContentItemService attachedMediaToContentItemService, IContentManager contentManager, IHttpContextAccessor httpContextAccessor, IOptions <MediaOptions> options, ILogger <FroalaApiController> logger, IMediaFileStore mediaFileStore, IContentTypeProvider contentTypeProvider, IStringLocalizer <FroalaApiController> stringLocalizer)
 {
     _attachedMediaToContentItemService = attachedMediaToContentItemService;
     _contentManager        = contentManager;
     _httpContextAccessor   = httpContextAccessor;
     _allowedFileExtensions = options.Value.AllowedFileExtensions;
     _logger              = logger;
     _mediaFileStore      = mediaFileStore;
     _contentTypeProvider = contentTypeProvider;
     S = stringLocalizer;
 }
Exemple #4
0
 public WorkDocumentPartDisplayDriver(AttachedMediaToContentItemService attachedMediaToContentItemService, ILogger <WorkDocumentPartDisplayDriver> logger, IStringLocalizer <WorkDocumentPartDisplayDriver> localizer)
 {
     _attachedMediaToContentItemService = attachedMediaToContentItemService;
     _logger = logger;
     S       = localizer;
 }
 public AttachedMediaToContentItemHandler(AttachedMediaToContentItemService attachedMediaToContentItemService)
 {
     _attachedMediaToContentItemService = attachedMediaToContentItemService;
 }