2024-07-14 09:30:31 -07:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
using Avalonia.Collections;
|
|
|
|
|
|
|
|
namespace SourceGit.ViewModels
|
|
|
|
{
|
|
|
|
public class ChangeCollectionAsTree
|
|
|
|
{
|
|
|
|
public List<ChangeTreeNode> Tree { get; set; } = new List<ChangeTreeNode>();
|
|
|
|
public AvaloniaList<ChangeTreeNode> Rows { get; set; } = new AvaloniaList<ChangeTreeNode>();
|
2024-07-16 02:00:08 -07:00
|
|
|
public AvaloniaList<ChangeTreeNode> SelectedRows { get; set; } = new AvaloniaList<ChangeTreeNode>();
|
2024-07-14 09:30:31 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
public class ChangeCollectionAsGrid
|
|
|
|
{
|
|
|
|
public AvaloniaList<Models.Change> Changes { get; set; } = new AvaloniaList<Models.Change>();
|
2024-07-16 02:00:08 -07:00
|
|
|
public AvaloniaList<Models.Change> SelectedChanges { get; set; } = new AvaloniaList<Models.Change>();
|
2024-07-14 09:30:31 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
public class ChangeCollectionAsList
|
|
|
|
{
|
|
|
|
public AvaloniaList<Models.Change> Changes { get; set; } = new AvaloniaList<Models.Change>();
|
2024-07-16 02:00:08 -07:00
|
|
|
public AvaloniaList<Models.Change> SelectedChanges { get; set; } = new AvaloniaList<Models.Change>();
|
2024-07-14 09:30:31 -07:00
|
|
|
}
|
|
|
|
}
|