Example #1
0
        public int AddList(ListData lst, ListFormatOverride override1)
        {
            int lsid = lst.GetLsid();

            while (_listMap[lsid] != null)
            {
                lsid = lst.ResetListID();
                override1.SetLsid(lsid);
            }
            _listMap.Add(lsid, lst);
            _overrideList.Add(override1);
            return(lsid);
        }
Example #2
0
 public int AddList(ListData lst, ListFormatOverride override1)
 {
     int lsid = lst.GetLsid();
     while (_listMap[lsid] != null)
     {
         lsid = lst.ResetListID();
         override1.SetLsid(lsid);
     }
     _listMap.Add(lsid, lst);
     _overrideList.Add(override1);
     return lsid;
 }