示例#1
0
 public virtual void add(Task task)
 {
   if (task == null)
   {
     string str = "Null 'task' argument.";
     Throwable.__\u003CsuppressFillInStackTrace\u003E();
     throw new IllegalArgumentException(str);
   }
   else
   {
     this.tasks.add((object) task);
     this.fireSeriesChanged();
   }
 }
示例#2
0
 public virtual void remove(Task task)
 {
   this.tasks.remove((object) task);
   this.fireSeriesChanged();
 }