2020-04-11 21:04:20 +01:00
|
|
|
using System.Collections.ObjectModel;
|
|
|
|
|
using Aaru.CommonTypes;
|
2020-04-14 19:58:23 +01:00
|
|
|
using Aaru.Gui.ViewModels;
|
2020-04-11 21:04:20 +01:00
|
|
|
using Avalonia.Media.Imaging;
|
|
|
|
|
|
|
|
|
|
namespace Aaru.Gui.Models
|
|
|
|
|
{
|
|
|
|
|
public class PartitionModel
|
|
|
|
|
{
|
|
|
|
|
public PartitionModel() => FileSystems = new ObservableCollection<FileSystemModel>();
|
|
|
|
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public Bitmap Icon { get; set; }
|
|
|
|
|
public ObservableCollection<FileSystemModel> FileSystems { get; }
|
|
|
|
|
public Partition Partition { get; set; }
|
2020-04-14 19:58:23 +01:00
|
|
|
public PartitionViewModel ViewModel { get; set; }
|
2020-04-11 21:04:20 +01:00
|
|
|
}
|
|
|
|
|
}
|