Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    FileUploadCleanupFilterAttribute(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
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • FileUploadCleanupFilterAttribute(Boolean)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX