Class CategoryFileSystemItem
Represents top level categories for the file system view.
Inherited Members
Namespace: Phoenix.DeviceStorage
Assembly: Phoenix.Plugin.DeviceStorage.dll
Syntax
public class CategoryFileSystemItem : FileSystemItemBase
Constructors
View SourceCategoryFileSystemItem(String, PhoenixIOType, IDevice, IDeviceStorageManager)
Initializes a new instance of the CategoryFileSystemItem class.
Declaration
public CategoryFileSystemItem(string categoryName, PhoenixIOType categoryType, IDevice device, IDeviceStorageManager fileManager)
Parameters
Type | Name | Description |
---|---|---|
System.String | categoryName | The display name for this category. |
PhoenixIOType | categoryType | The file system type for this category. |
IDevice | device | The device this file system item is for. |
IDeviceStorageManager | fileManager | The file manager to use for IO. |
Methods
View SourceLoadAllChildrenAsync()
Loads the children for this category.
Declaration
protected override Task<Collection<FileSystemItemBase>> LoadAllChildrenAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<FileSystemItemBase>> | The list of children objects for this category. |
Overrides
View SourceLoadDirectoriesAsync()
Loads all the children of the category.
Declaration
protected override Task<Collection<FileSystemItemBase>> LoadDirectoriesAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<FileSystemItemBase>> | The list of children objects for this category. |