mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-26 21:17:20 -08:00
25 lines
976 B
C#
25 lines
976 B
C#
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>();
|
|
public AvaloniaList<ChangeTreeNode> SelectedRows { get; set; } = new AvaloniaList<ChangeTreeNode>();
|
|
}
|
|
|
|
public class ChangeCollectionAsGrid
|
|
{
|
|
public AvaloniaList<Models.Change> Changes { get; set; } = new AvaloniaList<Models.Change>();
|
|
public AvaloniaList<Models.Change> SelectedChanges { get; set; } = new AvaloniaList<Models.Change>();
|
|
}
|
|
|
|
public class ChangeCollectionAsList
|
|
{
|
|
public AvaloniaList<Models.Change> Changes { get; set; } = new AvaloniaList<Models.Change>();
|
|
public AvaloniaList<Models.Change> SelectedChanges { get; set; } = new AvaloniaList<Models.Change>();
|
|
}
|
|
}
|