View Source
Class ImageCropperPropertyEditor
Represents an image cropper property editor.
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public class ImageCropperPropertyEditor : DataEditor, IDataEditor, IDiscoverable, IMediaUrlGenerator, INotificationHandler<ContentCopiedNotification>, INotificationHandler<ContentDeletedNotification>, INotificationHandler<MediaDeletedNotification>, INotificationHandler<MediaSavingNotification>, INotificationHandler<MemberDeletedNotification>, INotificationHandler
Constructors
View Source
ImageCropperPropertyEditor(IDataValueEditorFactory, ILoggerFactory, MediaFileManager, IOptionsMonitor<ContentSettings>, IIOHelper, UploadAutoFillProperties, IContentService, IJsonSerializer)
Declaration
public ImageCropperPropertyEditor(IDataValueEditorFactory dataValueEditorFactory, ILoggerFactory loggerFactory, MediaFileManager mediaFileManager, IOptionsMonitor<ContentSettings> contentSettings, IIOHelper ioHelper, UploadAutoFillProperties uploadAutoFillProperties, IContentService contentService, IJsonSerializer jsonSerializer)
Parameters
Properties
View Source
PropertyIndexValueFactory
Declaration
public override IPropertyIndexValueFactory PropertyIndexValueFactory { get; }
Property Value
Methods
View Source
CreateConfigurationEditor()
Creates the corresponding preValue editor.
Declaration
protected override IConfigurationEditor CreateConfigurationEditor()
Returns
View Source
CreateValueEditor()
Creates the corresponding property value editor.
Declaration
protected override IDataValueEditor CreateValueEditor()
Returns
View Source
Handle(ContentCopiedNotification)
After a content has been copied, also copy uploaded files.
Declaration
public void Handle(ContentCopiedNotification notification)
Parameters
View Source
Handle(ContentDeletedNotification)
Declaration
public void Handle(ContentDeletedNotification notification)
Parameters
View Source
Declaration
public void Handle(MediaDeletedNotification notification)
Parameters
View Source
Declaration
public void Handle(MediaSavingNotification notification)
Parameters
View Source
Handle(MemberDeletedNotification)
Declaration
public void Handle(MemberDeletedNotification notification)
Parameters
View Source
Declaration
public bool TryGetMediaPath(string propertyEditorAlias, object value, out string mediaPath)
Parameters
Type |
Name |
Description |
System.String |
propertyEditorAlias |
|
System.Object |
value |
|
System.String |
mediaPath |
|
Returns
Type |
Description |
System.Boolean |
|