Models.FileSystem.Folder Class
Namespace: Nucleus.Abstractions.Models.FileSystem
Assembly: Nucleus.Abstractions.dll
Represents a folder stored in a file system.
Properties
Files
Property
Gets files stored in this folder.
FileValidationRules
Property
Specifies a list of name validation rules (regular expressions) and error messages for files within this folder.
Folders
Property
Gets sub-folders of this folder.
FolderValidationRules
Property
Specifies a list of name validation rules (regular expressions) and error messages for folders within this folder.
IncludeInSearch
Property
Specifies whether to include the files within the folder in the search index.
Permissions
Property
List of folder permissions.
Fields
URN
Folder entity Namespace for permissions, other scoped references
Methods
CopyDatabaseValuesTo
(Folder) Method
CopyDatabaseValuesTo (Folder target)
Data for folder items is retrieved from the database, and from the file system. This function "merges" a Folder 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).
SortFiles<T0>
(File, <T0>, Boolean) Method
SortFiles<T0> (System.Linq.Expressions.Expression{System.Func{Nucleus.Abstractions.Models.FileSystem.File, <T0>}, System.Boolean)
Sort this folder's sub-folders.
SortFolders<T0>
(Folder, <T0>, Boolean) Method
SortFolders<T0> (System.Linq.Expressions.Expression{System.Func{Nucleus.Abstractions.Models.FileSystem.Folder, <T0>}, System.Boolean)
Sort this folder's sub-folders.