mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-21 21:30:37 +08:00
26 lines
504 B
C#
26 lines
504 B
C#
using System.Collections.Generic;
|
|
|
|
namespace SourceGit.ViewModels
|
|
{
|
|
public class GotoParentSelector
|
|
{
|
|
public List<Models.Commit> Parents
|
|
{
|
|
get;
|
|
}
|
|
|
|
public GotoParentSelector(Histories owner, List<Models.Commit> parents)
|
|
{
|
|
Parents = parents;
|
|
_owner = owner;
|
|
}
|
|
|
|
public void Sure(Models.Commit commit)
|
|
{
|
|
_owner.NavigateTo(commit.SHA);
|
|
}
|
|
|
|
private Histories _owner;
|
|
}
|
|
}
|