View Source
Class FileUploadPropertyEditor
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
[DataEditor("Umbraco.UploadField", "File upload", "fileupload", Group = "Media", Icon = "icon-download-alt")]
public class FileUploadPropertyEditor : DataEditor, IDataEditor, IDiscoverable, IDataEditorWithMediaPath
Constructors
View Source
FileUploadPropertyEditor(ILogger, IMediaFileSystem, IContentSection)
Declaration
public FileUploadPropertyEditor(ILogger logger, IMediaFileSystem mediaFileSystem, IContentSection contentSection)
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
Declaration
public string GetMediaPath(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.String |
|