Exemplo n.º 1
0
        public void ModIncAt(ExpenseItem item, int index)
        {
            if (!item.IsInc())
            {
                throw new Exception("Wrong type mate! Inc - expected");
            }

            this.inc[index] = new ExpenseItem(
                item.Title,
                item.Desc,
                item.Val,
                item.Type);

            this.OnPropertyRaised("updated");
        }