Class FileUploadCleanupFilterAttribute
Checks if the parameter is IHaveUploadedFiles and then deletes any temporary saved files from file uploads associated with the request
Inheritance
System.Object
System.Attribute
Microsoft.AspNetCore.Mvc.TypeFilterAttribute
Namespace: Umbraco.Cms.Web.BackOffice.Filters
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public sealed class FileUploadCleanupFilterAttribute : TypeFilterAttribute, IFilterFactory, IOrderedFilter, IFilterMetadata
Constructors
View SourceFileUploadCleanupFilterAttribute(Boolean)
Constructor specifies if the filter should analyze the incoming or outgoing model
Declaration
public FileUploadCleanupFilterAttribute(bool incomingModel = true)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | incomingModel |