Пример #1
0
 public NTaskCollection GetTasks()
 {
     if (this.Items.Count > 0)
     {
         NTaskCollection tasks = new NTaskCollection();
         for (int k = 0; k < this.Items.Count; k++)
         {
             tasks.Add(GetTask(k));
         }
         return(tasks);
     }
     else
     {
         return(null);
     }
 }
 /// <summary>
 /// Adds a range of tasks to the collection
 /// </summary>
 /// <param name="tasks"></param>
 public void AddRange(NTaskCollection tasks)
 {
     this.InnerList.AddRange(tasks);
 }