SetDone() 개인적인 메소드

private SetDone ( ) : void
리턴 void
예제 #1
0
        public void MarkTaskAsDone(int taskID)
        {
            Task task = _tasks[taskID] as Task;

            if (null == task)
            {
                throw new ArgumentException("Task not found!", "taskID");
            }
            task.SetDone();
        }