Esempio n. 1
0
        // private methods
        #region UpdateQuality(Item item)

        /**
         * Updates quality and SellIn of a given item.
         */
        private Item UpdateQuality(Item item)
        {
            QualityUpdater qualityUpdater = NameParser.GetQualityUpdaterForItem(item.Name);

            return(qualityUpdater.UpdateQuality(item));
        }