Search Results for

    Show / Hide Table of Contents
    View Source

    Class TemporaryFileModelBase

    Represents the base model for a temporary file.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models.TemporaryFile
    Assembly: Umbraco.Core.dll
    Syntax
    public abstract class TemporaryFileModelBase

    Constructors

    View Source

    TemporaryFileModelBase()

    Declaration
    protected TemporaryFileModelBase()

    Properties

    View Source

    FileName

    Gets or sets the name of the file.

    Declaration
    public required string FileName { get; set; }
    Property Value
    Type Description
    string
    View Source

    Key

    Gets or sets the unique key identifying the temporary file.

    Declaration
    public Guid Key { get; set; }
    Property Value
    Type Description
    Guid
    View Source

    OpenReadStream

    Gets or sets the function to open a read stream for the file content.

    Declaration
    public Func<Stream> OpenReadStream { get; set; }
    Property Value
    Type Description
    Func<Stream>
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX