예제 #1
0
        public object Clone()
        {
            var clone = new FinancialGoal(Value, Name);

            clone.AllocatedFunds = AllocatedFunds;
            clone.TimeToDeadline = TimeToDeadline;
            return(clone);
        }
예제 #2
0
 //returns false if item not found
 public bool RemoveFinancialGoal(FinancialGoal goal)
 {
     return(FinancialGoals.Remove(goal));
 }
예제 #3
0
 public void AddFinancialGoal(FinancialGoal goal)
 {
     FinancialGoals.Add(goal);
 }