WinForms › Project Management › ProjectSchedule
ProjectSchedule
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.ProjectManagement
A scheduled plan: every task's dates and float, the links that were honoured, the critical path, and anything in the input that could not be used.
public sealed class ProjectSchedule
Members at a glance
Calendar | The working calendar the plan was scheduled on. |
CriticalPath | Ids of the critical tasks that are work (not summaries), in date order. |
Links | The links that were honoured. |
Problems | Everything in the input that could not be used as written. |
ProjectDuration | Working days from the first day to the last. |
ProjectFinish | The last day any task is shown on; for a plan that ends in a milestone, the milestone's date. |
ProjectStart | The first working day of the first task. |
Roots | Ids of the top-level tasks, in plan order. |
Tasks | Every task in outline order: each summary followed by its subtasks. |
Find | Finds a scheduled task by id. |
Properties
Calendar
public WorkCalendar Calendar
The working calendar the plan was scheduled on.
CriticalPath
public IReadOnlyList<string> CriticalPath
Ids of the critical tasks that are work (not summaries), in date order.
Links
public IReadOnlyList<ScheduledLink> Links
The links that were honoured.
Problems
public IReadOnlyList<ScheduleProblem> Problems
Everything in the input that could not be used as written.
ProjectDuration
public int ProjectDuration
Working days from the first day to the last.
ProjectFinish
public DateTime ProjectFinish
The last day any task is shown on; for a plan that ends in a milestone, the milestone's date.
ProjectStart
public DateTime ProjectStart
The first working day of the first task.
Roots
public IReadOnlyList<string> Roots
Ids of the top-level tasks, in plan order.
Tasks
public IReadOnlyList<ScheduledTask> Tasks
Every task in outline order: each summary followed by its subtasks.
Methods
Find
public ScheduledTask Find(string id)
Finds a scheduled task by id.
- id
- The task's id.
Returns. The task, or null when there is none with that id.