Example #1
0
        internal static ClientDiffInfo GetSelectedDiff(
            DiffTreeView treeView)
        {
            if (!treeView.HasSelection())
            {
                return(null);
            }

            return(treeView.GetSelectedDiffs(false)[0]);
        }
Example #2
0
 internal static List <ClientDiffInfo> GetSelectedDiffs(
     DiffTreeView treeView)
 {
     return(treeView.GetSelectedDiffs(true));
 }
Example #3
0
 internal static List <ClientDiffInfo> GetSelectedDiffsWithoutMeta(
     DiffTreeView treeView)
 {
     return(treeView.GetSelectedDiffs(false));
 }