Search Results for

    Show / Hide Table of Contents
    View Source

    Class ImageCropperPropertyEditor

    Represents an image cropper property editor.

    Inheritance
    System.Object
    DataEditor
    Namespace: Umbraco.Cms.Core.PropertyEditors
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class ImageCropperPropertyEditor : DataEditor, IDataEditor, IDiscoverable, IMediaUrlGenerator, INotificationHandler<ContentCopiedNotification>, INotificationHandler<ContentDeletedNotification>, INotificationHandler<MediaDeletedNotification>, INotificationHandler<MediaSavingNotification>, INotificationHandler<MemberDeletedNotification>

    Constructors

    View Source

    ImageCropperPropertyEditor(IDataValueEditorFactory, ILoggerFactory, MediaFileManager, IOptionsMonitor<ContentSettings>, IDataTypeService, IIOHelper, UploadAutoFillProperties, IContentService)

    Declaration
    public ImageCropperPropertyEditor(IDataValueEditorFactory dataValueEditorFactory, ILoggerFactory loggerFactory, MediaFileManager mediaFileManager, IOptionsMonitor<ContentSettings> contentSettings, IDataTypeService dataTypeService, IIOHelper ioHelper, UploadAutoFillProperties uploadAutoFillProperties, IContentService contentService)
    Parameters
    Type Name Description
    IDataValueEditorFactory dataValueEditorFactory
    ILoggerFactory loggerFactory
    MediaFileManager mediaFileManager
    IOptionsMonitor<ContentSettings> contentSettings
    IDataTypeService dataTypeService
    IIOHelper ioHelper
    UploadAutoFillProperties uploadAutoFillProperties
    IContentService contentService
    View Source

    ImageCropperPropertyEditor(IDataValueEditorFactory, ILoggerFactory, MediaFileManager, IOptionsMonitor<ContentSettings>, IDataTypeService, IIOHelper, UploadAutoFillProperties, IContentService, IEditorConfigurationParser)

    Initializes a new instance of the ImageCropperPropertyEditor class.

    Declaration
    public ImageCropperPropertyEditor(IDataValueEditorFactory dataValueEditorFactory, ILoggerFactory loggerFactory, MediaFileManager mediaFileManager, IOptionsMonitor<ContentSettings> contentSettings, IDataTypeService dataTypeService, IIOHelper ioHelper, UploadAutoFillProperties uploadAutoFillProperties, IContentService contentService, IEditorConfigurationParser editorConfigurationParser)
    Parameters
    Type Name Description
    IDataValueEditorFactory dataValueEditorFactory
    ILoggerFactory loggerFactory
    MediaFileManager mediaFileManager
    IOptionsMonitor<ContentSettings> contentSettings
    IDataTypeService dataTypeService
    IIOHelper ioHelper
    UploadAutoFillProperties uploadAutoFillProperties
    IContentService contentService
    IEditorConfigurationParser editorConfigurationParser

    Properties

    View Source

    PropertyIndexValueFactory

    Declaration
    public override IPropertyIndexValueFactory PropertyIndexValueFactory { get; }
    Property Value
    Type Description
    IPropertyIndexValueFactory

    Methods

    View Source

    CreateConfigurationEditor()

    Creates the corresponding preValue editor.

    Declaration
    protected override IConfigurationEditor CreateConfigurationEditor()
    Returns
    Type Description
    IConfigurationEditor

    The corresponding preValue editor.

    View Source

    CreateValueEditor()

    Creates the corresponding property value editor.

    Declaration
    protected override IDataValueEditor CreateValueEditor()
    Returns
    Type Description
    IDataValueEditor

    The corresponding property value editor.

    View Source

    Handle(ContentCopiedNotification)

    After a content has been copied, also copy uploaded files.

    Declaration
    public void Handle(ContentCopiedNotification notification)
    Parameters
    Type Name Description
    ContentCopiedNotification notification
    View Source

    Handle(ContentDeletedNotification)

    Declaration
    public void Handle(ContentDeletedNotification notification)
    Parameters
    Type Name Description
    ContentDeletedNotification notification
    View Source

    Handle(MediaDeletedNotification)

    Declaration
    public void Handle(MediaDeletedNotification notification)
    Parameters
    Type Name Description
    MediaDeletedNotification notification
    View Source

    Handle(MediaSavingNotification)

    Declaration
    public void Handle(MediaSavingNotification notification)
    Parameters
    Type Name Description
    MediaSavingNotification notification
    View Source

    Handle(MemberDeletedNotification)

    Declaration
    public void Handle(MemberDeletedNotification notification)
    Parameters
    Type Name Description
    MemberDeletedNotification notification
    View Source

    TryGetMediaPath(String, Object, out String)

    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
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ImageCropperPropertyEditor(IDataValueEditorFactory, ILoggerFactory, MediaFileManager, IOptionsMonitor<ContentSettings>, IDataTypeService, IIOHelper, UploadAutoFillProperties, IContentService)
      • ImageCropperPropertyEditor(IDataValueEditorFactory, ILoggerFactory, MediaFileManager, IOptionsMonitor<ContentSettings>, IDataTypeService, IIOHelper, UploadAutoFillProperties, IContentService, IEditorConfigurationParser)
    • Properties
      • PropertyIndexValueFactory
    • Methods
      • CreateConfigurationEditor()
      • CreateValueEditor()
      • Handle(ContentCopiedNotification)
      • Handle(ContentDeletedNotification)
      • Handle(MediaDeletedNotification)
      • Handle(MediaSavingNotification)
      • Handle(MemberDeletedNotification)
      • TryGetMediaPath(String, Object, out String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX