Initializes a new instance of the TaskItem class.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)
Syntax
| C# |
|---|
public TaskItem( Object content, int indentation, bool isExpanded, Schedule schedule, DateTime start, TimeSpan effort, TimeSpan completedEffort, IEnumerable<AssignmentItem> assignments ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ content As Object, _ indentation As Integer, _ isExpanded As Boolean, _ schedule As Schedule, _ start As DateTime, _ effort As TimeSpan, _ completedEffort As TimeSpan, _ assignments As IEnumerable(Of AssignmentItem) _ ) |
Parameters
- content
- Type: System..::.Object
Content of this TaskItem.
- indentation
- Type: System..::.Int32
Indentation level of this TaskItem.
- isExpanded
- Type: System..::.Boolean
Expansion indicator of this TaskItem.
- schedule
- Type: DlhSoft.Windows.Data..::.Schedule
Schedule of this TaskItem.
- start
- Type: System..::.DateTime
Start date and time of this TaskItem.
- effort
- Type: System..::.TimeSpan
Effort of this TaskItem.
- completedEffort
- Type: System..::.TimeSpan
Completed effort of this TaskItem.
- assignments
- Type: System.Collections.Generic..::.IEnumerable<(Of <(AssignmentItem>)>)
Assignment item collection of this TaskItem.