示例#1
0
        public void Refresh()
        {
            var special = new List <string>();

            special.AddRange(StashTab.HardcodedRecords);
            special.AddRange(_databaseItemDao.GetSpecialStackableRecords());
            SpecialRecords   = special;
            AllRecords       = new HashSet <string>(_databaseItemDao.ListAllRecords());
            StackableRecords = new HashSet <string>(_databaseItemDao.GetStackableComponentsPotionsMisc());
        }
示例#2
0
 public IList <string> GetStackableComponentsPotionsMisc()
 {
     return(ThreadExecuter.Execute(
                () => _repo.GetStackableComponentsPotionsMisc()
                ));
 }
 public void Refresh()
 {
     SpecialRecords   = _databaseItemDao.GetSpecialStackableRecords();
     AllRecords       = new HashSet <string>(_databaseItemDao.ListAllRecords());
     StackableRecords = new HashSet <string>(_databaseItemDao.GetStackableComponentsPotionsMisc());
 }