Search Results for

    Show / Hide Table of Contents
    View Source

    Class FileUploadPropertyEditor

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

    Constructors

    View Source

    FileUploadPropertyEditor(IDataValueEditorFactory, MediaFileManager, IOptionsMonitor<ContentSettings>, ILocalizedTextService, UploadAutoFillProperties, IContentService, IIOHelper)

    Declaration
    public FileUploadPropertyEditor(IDataValueEditorFactory dataValueEditorFactory, MediaFileManager mediaFileManager, IOptionsMonitor<ContentSettings> contentSettings, ILocalizedTextService localizedTextService, UploadAutoFillProperties uploadAutoFillProperties, IContentService contentService, IIOHelper ioHelper)
    Parameters
    Type Name Description
    IDataValueEditorFactory dataValueEditorFactory
    MediaFileManager mediaFileManager
    IOptionsMonitor<ContentSettings> contentSettings
    ILocalizedTextService localizedTextService
    UploadAutoFillProperties uploadAutoFillProperties
    IContentService contentService
    IIOHelper ioHelper
    View Source

    FileUploadPropertyEditor(IDataValueEditorFactory, MediaFileManager, IOptionsMonitor<ContentSettings>, ILocalizedTextService, UploadAutoFillProperties, IContentService, IIOHelper, IEditorConfigurationParser)

    Declaration
    public FileUploadPropertyEditor(IDataValueEditorFactory dataValueEditorFactory, MediaFileManager mediaFileManager, IOptionsMonitor<ContentSettings> contentSettings, ILocalizedTextService localizedTextService, UploadAutoFillProperties uploadAutoFillProperties, IContentService contentService, IIOHelper ioHelper, IEditorConfigurationParser editorConfigurationParser)
    Parameters
    Type Name Description
    IDataValueEditorFactory dataValueEditorFactory
    MediaFileManager mediaFileManager
    IOptionsMonitor<ContentSettings> contentSettings
    ILocalizedTextService localizedTextService
    UploadAutoFillProperties uploadAutoFillProperties
    IContentService contentService
    IIOHelper ioHelper
    IEditorConfigurationParser editorConfigurationParser

    Methods

    View Source

    CreateConfigurationEditor()

    Creates a configuration editor instance.

    Declaration
    protected override IConfigurationEditor CreateConfigurationEditor()
    Returns
    Type Description
    IConfigurationEditor
    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)

    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
      • FileUploadPropertyEditor(IDataValueEditorFactory, MediaFileManager, IOptionsMonitor<ContentSettings>, ILocalizedTextService, UploadAutoFillProperties, IContentService, IIOHelper)
      • FileUploadPropertyEditor(IDataValueEditorFactory, MediaFileManager, IOptionsMonitor<ContentSettings>, ILocalizedTextService, UploadAutoFillProperties, IContentService, IIOHelper, IEditorConfigurationParser)
    • 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