Пример #1
0
        public List <PbTick> View2Data(IEnumerable <PbTickView> list, bool descending)
        {
            if (list == null)
            {
                return(null);
            }

            var converter = new Double2IntConverter();
            var tempList  = new List <PbTick>();

            foreach (var l in list)
            {
                tempList.Add(converter.Double2Int(l, descending));
            }
            return(tempList);
        }
Пример #2
0
        public List<PbTick> View2Data(IEnumerable<PbTickView> list, bool descending)
        {
            if (list == null)
                return null;

            var converter = new Double2IntConverter();
            var tempList = new List<PbTick>();

            foreach (var l in list) {
                tempList.Add(converter.Double2Int(l, descending));
            }
            return tempList;
        }