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 SourceCreated
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. |
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 |
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. |
Name
The asset name typically the folder or the file name
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
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 |
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 |
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 |