using System; using System.Collections; using System.Collections.Generic; using System.Data; using System.Text; using System.Runtime.CompilerServices; using umbraco.BusinessLogic; using umbraco.DataLayer; namespace umbraco.cms.businesslogic.task { /// /// A collection of tasks. /// public class Tasks : CollectionBase { /// /// Adds the specified new task. /// /// The new task. public virtual void Add(Task NewTask) { this.List.Add(NewTask); } /// /// Gets the at the specified index. /// /// public virtual Task this[int Index] { get { return (Task)this.List[Index]; } } } }