TaskCollection Class

Collection of TaskItem Items.

Definition

Namespace: ProjectTask
Assembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
C#
public class TaskCollection : ChangeObjectCollection<TaskItem>
Inheritance
Object    ListTaskItem    ChangeObjectCollectionTaskItem    TaskCollection

Constructors

TaskCollectionInitializes a new instance of the TaskCollection class

Properties

Capacity
(Inherited from ListTaskItem)
Count
(Inherited from ListTaskItem)
ItemInt32
(Inherited from ListTaskItem)
ItemString Return a reference to the first task in the collection found with the specified display name.
ParentTask Get/Set a reference to the parent task to which this collection belongs.
PropertyName Get/Set a property name to be associated with this collection for bubble-up events.
(Inherited from ChangeObjectCollectionT)

Methods

Add(T) Add an item to the collection.
(Inherited from ChangeObjectCollectionT)
Add(String) Add a task to the collection by display name.
Add(ValueTupleString, String, TaskTypeItem, TaskStatusItem) Add one or more tasks using a simple tuple approach.
Add(ValueTupleString, String, String, String) Add one or more tasks using a simple tuple approach.
AddRange Add a range of items to the collection.
(Inherited from ChangeObjectCollectionT)
AsReadOnly
(Inherited from ListTaskItem)
AssociateTasksByName Associate all of the tasks specified in the child task list parameters with that one specified in the parent name.
BinarySearch(T)
(Inherited from ListTaskItem)
BinarySearch(T, IComparerT)
(Inherited from ListTaskItem)
BinarySearch(Int32, Int32, T, IComparerT)
(Inherited from ListTaskItem)
Clear Remove all of the elements from the property collection.
(Inherited from ChangeObjectCollectionT)
ClearCalculatedFlag Clear the Calculated flag on all tasks.
Contains
(Inherited from ListTaskItem)
ConvertAllTOutput
(Inherited from ListTaskItem)
CopyTo(T)
(Inherited from ListTaskItem)
CopyTo(T, Int32)
(Inherited from ListTaskItem)
CopyTo(Int32, T, Int32, Int32)
(Inherited from ListTaskItem)
Equals
(Inherited from Object)
Exists
(Inherited from ListTaskItem)
Finalize
(Inherited from Object)
Find
(Inherited from ListTaskItem)
FindAll
(Inherited from ListTaskItem)
FindIndex(PredicateT)
(Inherited from ListTaskItem)
FindIndex(Int32, PredicateT)
(Inherited from ListTaskItem)
FindIndex(Int32, Int32, PredicateT)
(Inherited from ListTaskItem)
FindLast
(Inherited from ListTaskItem)
FindLastIndex(PredicateT)
(Inherited from ListTaskItem)
FindLastIndex(Int32, PredicateT)
(Inherited from ListTaskItem)
FindLastIndex(Int32, Int32, PredicateT)
(Inherited from ListTaskItem)
ForEach
(Inherited from ListTaskItem)
GetEnumerator
(Inherited from ListTaskItem)
GetHashCode
(Inherited from Object)
GetRange
(Inherited from ListTaskItem)
GetTotalEstimatedTime Return the total estimated time of all tasks in the provided collection.
GetTotalOutstandingEstimatedTime Return the total outstanding estimated time of all tasks in the provided collection.
GetType
(Inherited from Object)
IndexOf(T)
(Inherited from ListTaskItem)
IndexOf(T, Int32)
(Inherited from ListTaskItem)
IndexOf(T, Int32, Int32)
(Inherited from ListTaskItem)
Insert Insert an item into the collection at the specified ordinal index.
(Inherited from ChangeObjectCollectionT)
InsertRange Insert a range of items at the specified ordinal index.
(Inherited from ChangeObjectCollectionT)
LastIndexOf(T)
(Inherited from ListTaskItem)
LastIndexOf(T, Int32)
(Inherited from ListTaskItem)
LastIndexOf(T, Int32, Int32)
(Inherited from ListTaskItem)
MemberwiseClone
(Inherited from Object)
OnAdd Raises the ItemAdded event when an item has been added to the collection.
(Overrides ChangeObjectCollectionTOnAdd(T))
OnCollectionChanged Raises the CollectionChanged event when the contents of the collection have changed.
(Inherited from ChangeObjectCollectionT)
OnItemPropertyChanged Raises the ItemPropertyChanged event when the value of an item property has changed.
(Inherited from ChangeObjectCollectionT)
OnRemove Raises the Remove event when an item has been removed from the collection.
(Inherited from ChangeObjectCollectionT)
Remove Remove the first matching instance of the specified item from the collection.
(Inherited from ChangeObjectCollectionT)
RemoveAll Remove all items matching the condition from the collection.
(Inherited from ChangeObjectCollectionT)
RemoveAt Remove the item at the specified ordinal index of the collection.
(Inherited from ChangeObjectCollectionT)
RemoveRange Remove a range of items from the collection.
(Inherited from ChangeObjectCollectionT)
Reverse
(Inherited from ListTaskItem)
Reverse(Int32, Int32)
(Inherited from ListTaskItem)
Sort
(Inherited from ListTaskItem)
Sort(ComparisonT)
(Inherited from ListTaskItem)
Sort(IComparerT)
(Inherited from ListTaskItem)
Sort(Int32, Int32, IComparerT)
(Inherited from ListTaskItem)
ToArray
(Inherited from ListTaskItem)
ToString
(Inherited from Object)
TrimExcess
(Inherited from ListTaskItem)
TrueForAll
(Inherited from ListTaskItem)

Events

CollectionChanged Raised when the contents of the collection have changed.
(Inherited from ChangeObjectCollectionT)
ItemAdded Raised when an item is added to the collection.
(Inherited from ChangeObjectCollectionT)
ItemPropertyChanged Raised when the value of a property on an individual item has changed.
(Inherited from ChangeObjectCollectionT)
ItemRemoved Raised when an item is removed from the collection.
(Inherited from ChangeObjectCollectionT)

Explicit Interface Implementations

See Also