Nucleus .Net Core CMS

Models.FileSystem.Folder Class

Namespace: Nucleus.Abstractions.Models.FileSystem
Assembly: Nucleus.Abstractions.dll
Represents a folder stored in a file system.
Gets files stored in this folder.
Specifies a list of name validation rules (regular expressions) and error messages for files within this folder.
Gets sub-folders of this folder.
Specifies a list of name validation rules (regular expressions) and error messages for folders within this folder.
Specifies whether to include the files within the folder in the search index.
List of folder permissions.
Folder entity Namespace for permissions, other scoped references
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).
Parameters
Name Type
target Nucleus.Abstractions.Models.FileSystem.Folder
SortFiles<T0> (System.Linq.Expressions.Expression{System.Func{Nucleus.Abstractions.Models.FileSystem.File,  <T0>},  System.Boolean)
Sort this folder's sub-folders.
SortFolders<T0> (System.Linq.Expressions.Expression{System.Func{Nucleus.Abstractions.Models.FileSystem.Folder,  <T0>},  System.Boolean)
Sort this folder's sub-folders.