Allows processing of a node after it has been created by uploading media from the back office.

public interface IFileUploadHandler

Methods

FileUploadPreapprovalAsync(string, long, string, string, string) Pre-approves the uploaded file. If this method returns false, the file upload will not continue and the Redakt.ContentManagement.Files.IFileUploadHandler.HandleFileUploadedAsync member will not be called.
HandleFileUploadedAsync(LocalizableContentModel, string, string, string) Performs processing of newly uploaded media content. This method is called after the objects have been created, but before they have been saved to the data store. Manual saving inside this method is therefore not necessary.

Implemented by

DefaultFileUploadHandler