Example #1
0
        public void RemoveEntry(SectionModel model)
        {
            lst.RemoveAll(x => x == model);

            map = new TimingMap();
            foreach (var x in from a in lst select a.ClassTiming)
            {
                map = TimingMap.Union(map, new TimingMap(x));
            }
        }
Example #2
0
 public void UpdateMap_NewEntry(SectionModel sm)
 {
     lst.Add(sm);
     map = TimingMap.Union(map, new TimingMap(sm.ClassTiming));
 }