View Source
Class FileUploadPropertyEditor
Inheritance
System.Object
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
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
Methods
View Source
CreateConfigurationEditor()
Creates a configuration editor instance.
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)
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 |
|