예제 #1
0
        private void InitializeItems()
        {
            if (string.IsNullOrEmpty(Key))
            {
                return;
            }

            EconomyRequestFacade.GetInstance().EconomyTierlistOverview[this.BranchKey][Key].ForEach(x =>
            {
                ItemVariationInformation.Add(x);
            });

            ItemVariationInformationStatic = ItemVariationInformation;
            AvailableAspects.OrderBy(x => x.Name);
            this.RefreshAspectColoration();
        }
        private void InitializeItems()
        {
            if (string.IsNullOrEmpty(Key))
            {
                return;
            }

            var requestFacade = EconomyRequestFacade.GetInstance();

            // TODO!
            //if (this.BranchKey.ToLower().Contains("rare"))
            //{
            //    this.branchKey = "basetypes";
            //}

            requestFacade.EconomyTierlistOverview[this.BranchKey][Key].ForEach(x =>
            {
                ItemVariationInformation.Add(x);
            });

            ItemVariationInformationStatic = ItemVariationInformation;
            AvailableAspects.OrderBy(x => x.Name);
            this.RefreshAspectColoration();
        }