Initializes a new instance of the TaskItem class.

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)

Syntax

C#
public TaskItem(
	Object content,
	int indentation,
	DateTime start,
	TimeSpan effort,
	TimeSpan completedEffort,
	IEnumerable<AssignmentItem> assignments
)
Visual Basic (Declaration)
Public Sub New ( _
	content As Object, _
	indentation As Integer, _
	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.
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.

See Also