Models.FileSystem.FileSystemItem Class
Namespace: Nucleus.Abstractions.Models.FileSystem
Assembly: Nucleus.Abstractions.dll
Represents an item (file or folder) stored in a file system.
Properties
Capabilities
Property
Capabilities of the file system item.
DateModified
Property
Last modified date.
Description
Property
User-specified description of the file system item.
Id
Property
Id of database reference for the file system item
IsSelected
Property
Gets or sets whether the user has selected this item on-screen.
Name
Property
Display Name of the file system item.
Parent
Property
The path of the file system item's parent. Path formats are defined by the relevant FileSystemProvider. The format of a path for a "root" item is defined by the relevant FileSystemProvider.
Path
Property
The path of the file system item. Path formats are defined by the relevant FileSystemProvider
Provider
Property
The file system provider name
Methods
CopyDatabaseValuesTo
(FileSystemItem) Method
CopyDatabaseValuesTo (FileSystemItem target)
Data for folder and file items ares retrieved from the database, AND from the file system. This function "merges" a Folder/File object which has been retrieved from the file system with one from the database by copying the fields that are only present in the database (that is, can't be retrieved from the file system).