Ejemplo n.º 1
0
        public static List <TimedSection> GetTimedSectionList()
        {
            List <TimedSection> tempList = new List <TimedSection>(
                mSumSections.Count);

            foreach (KeyValuePair <string, double> kvp in mSumSections)
            {
                TimedSection timedSection = new TimedSection()
                {
                    Name = kvp.Key,
                    Time = kvp.Value
                };

                tempList.Add(timedSection);
            }
            return(tempList);
        }
Ejemplo n.º 2
0
        public static List<TimedSection> GetTimedSectionList()
        {
            List<TimedSection> tempList = new List<TimedSection>(
                mSumSections.Count);

            foreach (KeyValuePair<string, double> kvp in mSumSections)
            {
                TimedSection timedSection = new TimedSection()
                {
                    Name = kvp.Key,
                    Time = kvp.Value
                };

                tempList.Add(timedSection);
            }
            return tempList;
        }