Class ScratchCategoryFileSystemItem
Represents top level category for scratch drive.
Inherited Members
Namespace: Phoenix.DeviceStorage
Assembly: Phoenix.Plugin.DeviceStorage.dll
Syntax
public sealed class ScratchCategoryFileSystemItem : CategoryFileSystemItem
Constructors
View SourceScratchCategoryFileSystemItem(String, PhoenixIOType, IDevice, IDeviceStorageManager)
Initializes a new instance of the ScratchCategoryFileSystemItem class.
Declaration
public ScratchCategoryFileSystemItem(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 of this directory.
Declaration
protected override async Task<Collection<FileSystemItemBase>> LoadAllChildrenAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<FileSystemItemBase>> | A collection of files and directories in this directory. |