mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
19 lines
580 B
C#
19 lines
580 B
C#
|
|
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; }
|
||
|
|
}
|