The TaskManager type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | TaskManager |
Initializes a new TaskManager instance.
|
Methods
Name | Description | |
---|---|---|
![]() | DependsOf |
Gets a value that indicates whether the specified item has another item as a direct or indirect, and an implicit or explicit predecessor in the hierarchy.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | EnsureDependencyConstraints()()()() |
Ensures that dependency constrains between tasks are enforced.
You should call EnsureTimeScheduleConstraints()()()(), EnsureTimeLimitConstraints()()()(), and RemoveCircularDependencies()()()() methods before this call.
|
![]() | EnsureDependencyConstraints(Boolean) |
Ensures that dependency constrains between tasks are enforced.
You should call EnsureTimeScheduleConstraints()()()(), EnsureTimeLimitConstraints()()()(), and RemoveCircularDependencies()()()() methods before this call.
|
![]() | EnsureDependencyConstraints(DateTime) |
Ensures that dependency constrains between tasks are enforced.
You should call EnsureTimeScheduleConstraints()()()(), EnsureTimeLimitConstraints()()()(), and RemoveCircularDependencies()()()() methods before this call.
|
![]() | EnsureDependencyConstraints(Boolean, DateTime, Int32) |
Ensures that dependency constrains between tasks are enforced.
You should call EnsureTimeScheduleConstraints()()()(), EnsureTimeLimitConstraints()()()(), and RemoveCircularDependencies()()()() methods before this call.
|
![]() | EnsureTimeLimitConstraints |
Updates standard task time values according to the item's MinStart, MaxStart, MinFinish, and MaxFinish properties.
You should call EnsureTimeScheduleConstraints()()()() method before this call.
You don't need to call EnsureTimeScheduleConstraints()()()() method, but you may also want to call SummarizeParentTimeValues()()()() method after this call.
|
![]() | EnsureTimeScheduleConstraints |
Updates standard task time values according to the general Schedule or item's Schedule properties.
You may also want to call EnsureTimeLimitConstraints()()()() and/or SummarizeParentTimeValues()()()() methods after this call.
|
![]() | EnsureValidHierarchy |
Resets any invalid indentation values in order to obtain a valid task hierarchy.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetAllChildren |
Iterates all level child items of the specified item down in the hierarchical collection.
|
![]() | GetAllocations |
Iterates the time interval based allocations from standard tasks assigned to a specific resource within the component.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetAllocationUnitsString |
Returns a string that may be used for displaying a representation of the specified allocation units.
|
![]() | GetAllParents |
Iterates all level parent items of the specified item up in the hierarchical collection.
|
![]() | GetAssignedItems |
Iterates the list of standard task assignments (defined as task items) for a specific resource within the component.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetAssignedResources()()()() |
Iterates the list of assigned resources (unique entries) from all standard tasks within the component.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetAssignedResources(TaskItem) |
Iterates the list of assignments (defined as resource objects) from a specific task within the component.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetAssignments |
Iterates the list of standard task assignments (defined as task items and associated allocation units) for a specific resource within the component.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetAssignmentsCost |
Gets the assignments cost of the specified task, summing up DefaultResourceUsageCost or SpecificResourceUsageCosts, and DefaultResourceHourCost or SpecificResourceHourCosts multiplied by work effort hours (for standard tasks).
The value is eventually multiplied by assignment allocation units (if set).
|
![]() | GetAssignmentsString |
Returns a string that may be used for displaying the assignments of the specified task within the component, optionally including non-unitary allocation value percents enclosed within square brackets, and separated by commas.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetChildren |
Iterates the direct child items of the specified item in the hierarchical collection.
|
![]() | GetCompletedEffort |
Gets the completed effort of the specified task item.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetCompletion |
Gets the completion rate of the specified task item (between 0 and 1).
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetCost |
Gets the total cost of the specified task, summing up ExecutionCost and the value returned by GetExtraCost(TaskItem) method.
|
![]() | GetCriticalItems()()()() |
Iterates the critical items of the project consisting of all standard tasks within the component.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetCriticalItems(TimeSpan) |
Iterates the critical items of the project consisting of all standard tasks within the component.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetDependencyType |
Returns a dependency type based on the specified abbreviation string, such as an empty string, FS, SS, FF, or SF.
|
![]() | GetDependencyTypeAbbreviationString |
Returns a string that may be used for displaying a representation of the specified dependency type.
|
![]() | GetDuration |
Gets the duration value of the specified task item, as the working time difference between Start and Finish values.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetEffort(TaskItem) |
Gets the effort of the specified task item.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetEffort(DateTime, DateTime, Schedule) |
Gets the total duration of the working time intervals between specified start and finish date and times (i.e. effort time for a task that starts and finishes on specified date and time, considering a single full time resource assignment), determined based on the working week and working day definitions, excluding the defined nonworking time intervals.
|
![]() | GetExtraCost |
Gets the extra cost of the specified task, summing up TaskInitiationCost, the value returned by GetAssignmentsCost(TaskItem) method, and child task costs (for summary tasks).
|
![]() | GetFinish |
Gets the finish date and time of a working time interval that starts at the specified date and time and has the specified total effort duration (possibly interrupted, and considering a single full time resource assignment), determined based on the working week and working day definitions, excluding the defined nonworking time intervals.
|
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetIndexString |
Gets the index string of the specified task item.
|
![]() | GetLagString |
Returns a string that may be used for displaying a representation of the specified lag time.
|
![]() | GetNextNonworkingTime |
Gets the minimum date and time greater or equal than the specified date and time that is considered as a nonworking time, determined based on the time not included in the working week and working day definitions, or included in the defined nonworking time intervals.
|
![]() | GetNextWorkingTime |
Gets the minimum date and time greater or equal than the specified date and time that is considered as a working time, determined based on the working week and working day definitions, excluding the defined nonworking time intervals.
|
![]() | GetParent |
Gets the direct parent item of the specified item in the hierarchical collection.
|
![]() | GetPredecessors(TaskItem) |
Iterates predecessor items of the specified item in the managed collection as TaskItem objects.
|
![]() | GetPredecessors(TaskItem, Predicate<(Of <<'(DependencyType>)>>)) |
Iterates predecessor items of the specified item satisfying the specified dependency type condition in the managed collection as TaskItem objects.
|
![]() | GetPredecessorsString |
Returns a string that may be used for displaying the predecessor indexes of the specified task within the component, optionally followed by dependency type abbreviations (FS, SS, FF, or SF) and/or lag times (in hours, with plus or minus sign prefix), and separated by commas.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetPreviousNonworkingTime |
Gets the maximum date and time less or equal than the specified date and time that is considered as a nonworking time, determined based on the time not included in the working week and working day definitions, or included in the defined nonworking time intervals.
|
![]() | GetPreviousWorkingTime |
Gets the maximum date and time less or equal than the specified date and time that is considered as a working time, determined based on the working week and working day definitions, excluding the defined nonworking time intervals.
|
![]() | GetProjectCompletedEffort |
Gets the total completed effort of the project consisting of all standard tasks within the component.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetProjectCompletion |
Gets the completion rate of the project consisting of all standard tasks within the component (between 0 and 1).
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetProjectCost |
Gets the total cost of the project consisting of the root managed tasks.
|
![]() | GetProjectEffort |
Gets the total effort of the project consisting of all standard tasks within the component.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetProjectFinish |
Gets the finish date and time of the project consisting of all standard tasks within the component.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetProjectStart |
Gets the start date and time of the project consisting of all standard tasks within the component.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetProjectTotalCompletedEffort |
Gets the total completed effort of the project consisting of all standard tasks within the component, multiplying their durations by their total assignment allocation units.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetProjectTotalEffort |
Gets the total effort of the project consisting of all standard tasks within the component considering, multiplying their durations by their total assignment allocation units.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetProjectXml()()()() |
Gets data as a Project XML string.
|
![]() | GetProjectXml(IList<(Of <<'(Object>)>>)) |
Gets data as a Project XML string.
|
![]() | GetResourceCost |
Gets the assignments cost of the specified resource, summing up DefaultResourceUsageCost or SpecificResourceUsageCosts, and DefaultResourceHourCost or SpecificResourceHourCosts multiplied by work effort hours (for standard tasks).
The value is eventually multiplied by assignment allocation units (if set).
|
![]() | GetRoots |
Iterates the root items in the hierarchical collection.
|
![]() | GetStart |
Gets the start date and time of a working time interval that has the specified total effort duration (possibly interrupted, and considering a single full time resource assignment) and finishes at the specified date and time, determined based on the working week and working day definitions, excluding the defined nonworking time intervals.
|
![]() | GetSuccessorPredecessorItems |
Iterates successor items of the specified item in the managed collection (i.e. those that have the specified item defined as a predecessor of any dependency type) as PredecessorItem objects.
|
![]() | GetSuccessors |
Iterates successor items of the specified item in the managed collection (i.e. those that have the specified item defined as a predecessor of any dependency type) as TaskItem objects.
|
![]() | GetTotalCompletedEffort |
Gets the total completed effort of the task, multiplying its completed duration by its total assignment allocation units.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetTotalEffort |
Gets the total effort of the task, multiplying its duration by its total assignment allocation units.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | GetType | (Inherited from Object.) |
![]() | GetWbsIndexString |
Gets the WBS index string of the specified task item.
|
![]() | GetWorkingTimeIntervals |
Iterates the working time intervals between specified start and finish date and times, determined based on the working week and working day definitions, excluding the defined nonworking time intervals.
|
![]() | HasChildren |
Returns a value indicating whether the specified item has children items.
|
![]() | HasProjectStarted |
Gets a value that indicates whether the project consisting of all standard tasks within the component has its work started.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | HasStarted |
Gets a value that indicates whether the specified task item has its work started, based on the completion value.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | Initialize |
Initializes the project data by coercing values to ensure hierarchical and time schedule validity, and computing summarization values as needed.
Internally calls EnsureValidHierarchy()()()(), EnsureTimeScheduleConstraints()()()(), EnsureTimeLimitConstraints()()()(), RemoveCircularDependencies()()()(), EnsureDependencyConstraints()()()(), and SummarizeParentTimeValues()()()() methods in the specified order.
|
![]() | InitializeChangeTracking |
Initializes HasChanged to false for all managed tasks.
|
![]() | IsCompleted |
Gets a value that indicates whether the specified task item has its work completed, based on the completion value.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | IsCritical(TaskItem) |
Gets a value indicating whether the specified item is critical within the project consisting of all standard tasks within the component.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | IsCritical(TaskItem, TimeSpan) |
Gets a value indicating whether the specified item is critical within the project consisting of all standard tasks within the component.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | IsOnSchedule(TaskItem) |
Gets a value indicating whether the specified task item is currently on schedule, so that its completed effort value reaches the current date and time.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | IsOnSchedule(TaskItem, DateTime) |
Gets a value indicating whether the task item would be on schedule at the specified date and time, so that its completed effort value reaches the specified date and time.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | IsProjectCompleted |
Gets a value that indicates whether the project consisting of all standard tasks within the component is completed.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | IsProjectOnSchedule()()()() |
Gets a value indicating whether the project consisting of all standard tasks within the component is currently on schedule.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | IsProjectOnSchedule(DateTime) |
Gets a value indicating whether the project consisting of all standard tasks within the component would be on schedule at the specified date and time.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | LevelAllocations |
Levels the assigned allocation units assuming that all or the specified tasks within the component are fixed duration and effort driven.
|
![]() | LevelResources()()()() |
Levels the assigned resources from all standard tasks within the component in order to avoid over allocation, by updating task timing values accordingly.
The resource leveling algorithm is applied starting from the current date and time, and without considering already started tasks.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | LevelResources(Boolean) |
Levels the assigned resources from all standard tasks within the component in order to avoid over allocation, by updating task timing values accordingly.
The resource leveling algorithm is applied starting from the current date and time.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | LevelResources(DateTime) |
Levels the assigned resources from all standard tasks within the component in order to avoid over allocation, by updating task timing values accordingly.
The resource leveling algorithm is applied without considering already started tasks.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | LevelResources(Boolean, DateTime) |
Levels the assigned resources from all standard tasks within the component in order to avoid over allocation, by updating task timing values accordingly.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
Internally calls SummarizeParentTimeValues()()()() method at the end of this call.
|
![]() | LoadProjectXml(Stream) |
Loads data from a Project XML stream.
|
![]() | LoadProjectXml(String) |
Loads data from a Project XML string.
|
![]() | LoadProjectXml(XDocument) |
Loads data from a Project XML document.
|
![]() | LoadProjectXml(Stream, IList<(Of <<'(Object>)>>)) |
Loads data from a Project XML stream.
|
![]() | LoadProjectXml(String, IList<(Of <<'(Object>)>>)) |
Loads data from a Project XML string.
|
![]() | LoadProjectXml(XDocument, IList<(Of <<'(Object>)>>)) |
Loads data from a Project XML document.
|
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | OptimizeWork(Boolean, Boolean, Nullable<(Of <<'(DateTime>)>>)) |
Optimizes schedule times of all managed items in order to optimize the project finish date without leveling resources, respecting dependency constraints.
|
![]() | OptimizeWork(TaskItem, Boolean, Boolean, Nullable<(Of <<'(DateTime>)>>)) |
Optimizes schedule times of the specified item in order to optimize the project finish date without leveling resources, respecting dependency constraints.
|
![]() | RemoveCircularDependencies |
Removes predecessor items that generate circular dependencies, either explicitely or implicitely in the hierarchy.
You should call EnsureValidHierarchy()()()() method before this call.
|
![]() | RescheduleToFinish |
Reschedules an item to finish on the specified date and time.
|
![]() | RescheduleToStart |
Reschedules an item to start on the specified date and time.
|
![]() | SaveProjectXml(Stream) |
Saves data to a Project XML stream.
|
![]() | SaveProjectXml(Stream, IList<(Of <<'(Object>)>>)) |
Saves data to a Project XML stream.
|
![]() | SetCompletedEffort |
Sets the completed effort of the specified task item.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | SetCompletion |
Sets the completion rate of the specified task item (between 0 and 1).
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | SetEffort |
Sets the effort of the specified task item.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | SplitAllRemainingWork |
Creates and inserts partial copies of the standard started task items that have not yet been fully completed considering their remaining work effort into the managed hierarchy, and updates the finish date and times of the original task items to their completion points.
Used as preparation for rescheduling the remaining work effort task items, such as before calling the LevelResources()()()() method.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | SplitRemainingWork |
Creates and inserts a partial copy of the specified task item considering its remaining work effort into the managed hierarchy, and updates the finish date and time of the original task item to its completion point.
Used as preparation for rescheduling the remaining work effort of a task item.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | SummarizeParentTimeValues |
Updates parent task time values according to the child item time values.
You should call EnsureTimeScheduleConstraints()()()() and EnsureTimeLimitConstraints()()()() methods before this call.
|
![]() | ToString | (Inherited from Object.) |
![]() | UpdateAssignments |
Updates the predecessors of the specified task in the component based on a string value defining predecessor indexes, optionally followed by dependency type abbreviations (FS, SS, FF, or SF) and/or lag times (in hours, with plus or minus sign prefix), and separated by commas.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
![]() | UpdatePredecessors |
Updates the predecessors of the specified task in the component based on a string value defining predecessor indexes, optionally followed by dependency type abbreviations (FS, SS, FF, or SF) and/or lag times (in hours, with plus or minus sign prefix), and separated by commas.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
|
Properties
Name | Description | |
---|---|---|
![]() | DefaultResourceHourCost |
Gets or sets the default hour cost value to apply for the assigned resources of the managed tasks.
|
![]() | DefaultResourceUsageCost |
Gets or sets the default usage cost value to apply for the assigned resources of the managed tasks.
|
![]() | Items |
Gets a collection of TaskItem objects that represent individual data items to be managed by the TaskManager component.
|
![]() | ResourceQuantities |
Gets or sets the quantity values to consider when leveling resources, indicating maximum amounts of materials available for use at the same time.
|
![]() | Schedule |
Gets or sets an object that indicates the working and nonworking time intervals that should generally apply to the managed task items.
|
![]() | SpecificResourceHourCosts |
Gets or sets the specific hour cost values to apply for the assigned resources of the managed tasks.
|
![]() | SpecificResourceUsageCosts |
Gets or sets the specific usage cost values to apply for the assigned resources of the managed tasks.
|
![]() | TaskInitiationCost |
Gets or sets the initiation cost value to apply to the managed tasks.
|