mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[TUI] Identify partitions.
This commit is contained in:
19
Aaru.Tui/Models/FileSystemModelNode.cs
Normal file
19
Aaru.Tui/Models/FileSystemModelNode.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using Aaru.CommonTypes;
|
||||
|
||||
namespace Aaru.Tui.Models;
|
||||
|
||||
public class FileSystemModelNode
|
||||
{
|
||||
public FileSystemModelNode(string title) => Title = title;
|
||||
|
||||
public FileSystemModelNode(string title, ObservableCollection<FileSystemModelNode> subNodes)
|
||||
{
|
||||
Title = title;
|
||||
SubNodes = subNodes;
|
||||
}
|
||||
|
||||
public ObservableCollection<FileSystemModelNode>? SubNodes { get; }
|
||||
public string Title { get; }
|
||||
public Partition? Partition { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user