コード例 #1
0
 public GridPropertyValueEditor(DataEditorAttribute attribute,
                                IUmbracoContextAccessor umbracoContextAccessor,
                                HtmlImageSourceParser imageSourceParser,
                                RichTextEditorPastedImages pastedImages,
                                HtmlLocalLinkParser localLinkParser)
     : this(attribute, umbracoContextAccessor, imageSourceParser, pastedImages, localLinkParser, Current.ImageUrlGenerator)
 {
 }
コード例 #2
0
 public GridPropertyEditor(ILogger logger,
                           IUmbracoContextAccessor umbracoContextAccessor,
                           HtmlImageSourceParser imageSourceParser,
                           RichTextEditorPastedImages pastedImages,
                           HtmlLocalLinkParser localLinkParser)
     : this(logger, umbracoContextAccessor, imageSourceParser, pastedImages, localLinkParser, Current.ImageUrlGenerator)
 {
 }
コード例 #3
0
 public RichTextPropertyValueEditor(DataEditorAttribute attribute, IUmbracoContextAccessor umbracoContextAccessor, HtmlImageSourceParser imageSourceParser, HtmlLocalLinkParser localLinkParser, RichTextEditorPastedImages pastedImages, IImageUrlGenerator imageUrlGenerator)
     : base(attribute)
 {
     _umbracoContextAccessor = umbracoContextAccessor;
     _imageSourceParser      = imageSourceParser;
     _localLinkParser        = localLinkParser;
     _pastedImages           = pastedImages;
     _imageUrlGenerator      = imageUrlGenerator;
 }
コード例 #4
0
 /// <summary>
 /// The constructor will setup the property editor based on the attribute if one is found
 /// </summary>
 public RichTextPropertyEditor(ILogger logger, IUmbracoContextAccessor umbracoContextAccessor, HtmlImageSourceParser imageSourceParser, HtmlLocalLinkParser localLinkParser, RichTextEditorPastedImages pastedImages, IImageUrlGenerator imageUrlGenerator)
     : base(logger)
 {
     _umbracoContextAccessor = umbracoContextAccessor;
     _imageSourceParser      = imageSourceParser;
     _localLinkParser        = localLinkParser;
     _pastedImages           = pastedImages;
     _imageUrlGenerator      = imageUrlGenerator;
 }
コード例 #5
0
 public GridPropertyValueEditor(DataEditorAttribute attribute,
                                IUmbracoContextAccessor umbracoContextAccessor,
                                HtmlImageSourceParser imageSourceParser,
                                RichTextEditorPastedImages pastedImages,
                                HtmlLocalLinkParser localLinkParser,
                                IImageUrlGenerator imageUrlGenerator)
     : base(attribute)
 {
     _umbracoContextAccessor         = umbracoContextAccessor;
     _imageSourceParser              = imageSourceParser;
     _pastedImages                   = pastedImages;
     _richTextPropertyValueEditor    = new RichTextPropertyEditor.RichTextPropertyValueEditor(attribute, umbracoContextAccessor, imageSourceParser, localLinkParser, pastedImages, _imageUrlGenerator);
     _mediaPickerPropertyValueEditor = new MediaPickerPropertyEditor.MediaPickerPropertyValueEditor(attribute);
     _imageUrlGenerator              = imageUrlGenerator;
 }