Пример #1
0
        internal static HistoryRevision GetSelectedHistoryRevision(
            HistoryListView listView)
        {
            List <HistoryRevision> revisions =
                listView.GetSelectedHistoryRevisions();

            if (revisions.Count == 0)
            {
                return(null);
            }

            return(revisions[0]);
        }
Пример #2
0
 internal static List <HistoryRevision> GetSelectedHistoryRevisions(
     HistoryListView listView)
 {
     return(listView.GetSelectedHistoryRevisions());
 }