public AddTaskCommand(Task task) { if (null == task) { throw new ArgumentNullException("task"); } _task = task; }