Пример #1
0
 public void Save(List <DatabaseItem> items, ProgressTracker progressTracker)
 {
     ThreadExecuter.Execute(
         () => _repo.Save(items, progressTracker),
         ThreadExecuter.ThreadTimeout * 2
         );
 }
Пример #2
0
 public void Save(ICollection <DatabaseItem> items)
 {
     ThreadExecuter.Execute(
         () => _repo.Save(items),
         ThreadExecuter.ThreadTimeout * 2
         );
 }
Пример #3
0
 public Dictionary <string, List <DBSTatRow> > GetStats(ISession session, StatFetch fetchMode)
 {
     return(ThreadExecuter.Execute(
                () => repo.GetStats(session, fetchMode)
                ));
 }
Пример #4
0
 public void RemoveBuddy(long buddyId)
 {
     ThreadExecuter.Execute(
         () => _repo.RemoveBuddy(buddyId)
         );
 }
Пример #5
0
 public void UpdateNames(IList <BuddyItem> items)
 {
     ThreadExecuter.Execute(
         () => _repo.UpdateNames(items)
         );
 }
Пример #6
0
 public IList <BuddyItem> ListItemsWithMissingName()
 {
     return(ThreadExecuter.Execute(
                () => _repo.ListItemsWithMissingName()
                ));
 }
Пример #7
0
 public IList <string> ListAllRecords()
 {
     return(ThreadExecuter.Execute(
                () => _repo.ListAllRecords()
                ));
 }
Пример #8
0
 public List <DatabaseItemDto> GetByClass(string itemClass)
 {
     return(ThreadExecuter.Execute(
                () => _repo.GetByClass(itemClass)
                ));
 }
Пример #9
0
 public string GetUuid()
 {
     return(ThreadExecuter.Execute(
                () => repo.GetUuid()
                ));
 }
Пример #10
0
 public void UpdateCurrentDatabase(string path)
 {
     ThreadExecuter.Execute(
         () => repo.UpdateCurrentDatabase(path)
         );
 }
Пример #11
0
 public long GetLastDatabaseUpdate()
 {
     return(ThreadExecuter.Execute(
                () => repo.GetLastDatabaseUpdate()
                ));
 }
Пример #12
0
 public string GetCurrentDatabasePath()
 {
     return(ThreadExecuter.Execute(
                () => repo.GetCurrentDatabasePath()
                ));
 }
Пример #13
0
 public string GetSkillName(string skillRecord)
 {
     return(ThreadExecuter.Execute(
                () => repo.GetSkillName(skillRecord)
                ));
 }
Пример #14
0
 public Dictionary <string, ISet <DBSTatRow> > GetExpacSkillModifierSkills()
 {
     return(ThreadExecuter.Execute(
                () => repo.GetExpacSkillModifierSkills()
                ));
 }
Пример #15
0
 public Dictionary <string, string> MapItemBitmaps(List <string> records)
 {
     return(ThreadExecuter.Execute(
                () => repo.MapItemBitmaps(records)
                ));
 }
Пример #16
0
 public DatabaseItemDto FindDtoByRecord(string record)
 {
     return(ThreadExecuter.Execute(
                () => _repo.FindDtoByRecord(record)
                ));
 }
Пример #17
0
 public List <DatabaseItemDto> GetCraftableItems()
 {
     return(ThreadExecuter.Execute(
                () => _repo.GetCraftableItems()
                ));
 }
Пример #18
0
 public void SetUuid(string uuid)
 {
     ThreadExecuter.Execute(
         () => repo.SetUuid(uuid)
         );
 }
Пример #19
0
 public Dictionary <string, string> GetTagDictionary()
 {
     return(ThreadExecuter.Execute(
                () => _repo.GetTagDictionary()
                ));
 }
Пример #20
0
 public void UpdateRecipeTimestamp(long ts)
 {
     ThreadExecuter.Execute(
         () => repo.UpdateRecipeTimestamp(ts)
         );
 }
Пример #21
0
 public IList <RecipeItem> SearchForRecipeItems(ItemSearchRequest query)
 {
     return(ThreadExecuter.Execute(
                () => _repo.SearchForRecipeItems(query)
                ));
 }
Пример #22
0
 public long GetRowCount()
 {
     return(ThreadExecuter.Execute(
                () => _repo.GetRowCount()
                ));
 }
Пример #23
0
 public IList <BuddyItem> ListItemsWithMissingLevelRequirement()
 {
     return(ThreadExecuter.Execute(
                () => _repo.ListItemsWithMissingLevelRequirement()
                ));
 }
Пример #24
0
 public IList <ItemSetAssociation> GetItemSetAssociations()
 {
     return(ThreadExecuter.Execute(
                () => _repo.GetItemSetAssociations()
                ));
 }
Пример #25
0
 public void UpdateLevelRequirements(IList <BuddyItem> items)
 {
     ThreadExecuter.Execute(
         () => _repo.UpdateLevelRequirements(items)
         );
 }
Пример #26
0
 public IList <string> GetSpecialStackableRecords()
 {
     return(ThreadExecuter.Execute(
                () => _repo.GetSpecialStackableRecords()
                ));
 }
Пример #27
0
 public IList <BuddyItem> FindBy(Search query)
 {
     return(ThreadExecuter.Execute(
                () => _repo.FindBy(query)
                ));
 }
Пример #28
0
 public IList <string> GetStackableComponentsPotionsMisc()
 {
     return(ThreadExecuter.Execute(
                () => _repo.GetStackableComponentsPotionsMisc()
                ));
 }
Пример #29
0
 public void SetItems(long userid, string description, List <JsonBuddyItem> items)
 {
     ThreadExecuter.Execute(
         () => _repo.SetItems(userid, description, items)
         );
 }
Пример #30
0
 public Dictionary <long, List <DBSTatRow> > GetStats(List <long> records, StatFetch fetchMode)
 {
     return(ThreadExecuter.Execute(
                () => repo.GetStats(records, fetchMode)
                ));
 }