예제 #1
0
        internal static ChangesetExtendedInfo GetSelectedChangeset(
            ChangesetsListView listView)
        {
            List <RepObjectInfo> selectedRepObjectsInfos = listView.GetSelectedRepObjectInfos();

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

            return((ChangesetExtendedInfo)selectedRepObjectsInfos[0]);
        }
예제 #2
0
 internal static List <RepObjectInfo> GetSelectedRepObjectInfos(
     ChangesetsListView listView)
 {
     return(listView.GetSelectedRepObjectInfos());
 }