public void FetchSingleAuction(int itemID, string realm) { ItemDictionary = new Dictionary <TSMItem, string>(); TSMItem item = Client.TSM.RetrieveRealmItem(itemID, realm, InformationManager.Instance.Region); ItemDictionary.Add(item, realm); DictionaryList.Add(ItemDictionary); }
public void FetchAuctions(int itemID, List <string> realms) { ItemDictionary = new Dictionary <TSMItem, string>(); foreach (string realm in realms) { TSMItem newItem = Client.TSM.RetrieveRealmItem(itemID, realm, InformationManager.Instance.Region); ItemDictionary.Add(newItem, realm); DictionaryList.Add(ItemDictionary); } }