• Basics
  • Abyss
  • C# & Razor
  • JavaScript & TS
  • Web API
  • .net API

    Show / Hide Table of Contents

    Interface IAsset

    Any asset (file/folder) of the EAV App System.
    This interface contains properties which both IFolder and IFile have in common

    Namespace: ToSic.Eav.Apps.Assets
    Assembly: ToSic.Eav.Apps.dll
    Syntax
    [PublicApi_Stable_ForUseInYourCode]
    public interface IAsset

    Properties

    | Improve this Doc View Source

    Created

    The creation date of the item, as reported by the environment.

    Declaration
    DateTime Created { get; set; }
    Property Value
    Type Description
    System.DateTime

    The date-time when the file was created.

    | Improve this Doc View Source

    Id

    The ID of the item, if the underlying environment uses int IDs

    Declaration
    int Id { get; }
    Property Value
    Type Description
    System.Int32

    an int with the id used by the environment to track this item

    | Improve this Doc View Source

    Modified

    The modified date of the file, as reported by the environment.

    Declaration
    DateTime Modified { get; set; }
    Property Value
    Type Description
    System.DateTime

    The date-time when the file was modified last.

    | Improve this Doc View Source

    Name

    The asset name typically the folder or the file name

    Declaration
    string Name { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ParentId

    The folder ID of the file, or parent-folder of a folder, if the underlying environment uses int IDs

    Declaration
    int ParentId { get; }
    Property Value
    Type Description
    System.Int32

    an int with the id used by the environment to track this item

    | Improve this Doc View Source

    Path

    The path of the item in the file system of the environment.

    Declaration
    string Path { get; set; }
    Property Value
    Type Description
    System.String

    The full path of this item

    | Improve this Doc View Source

    PhysicalPath

    The full physical path to folder or file to access them on the local server.

    Declaration
    string PhysicalPath { get; }
    Property Value
    Type Description
    System.String

    The full physical path to this asset

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX