Initializes a new instance of the Task class.

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

Syntax

C#
protected internal Task(
	Object item,
	string indentationMemberPath,
	string isExpandedMemberPath,
	string contentMemberPath,
	string scheduleMemberPath,
	string startMemberPath,
	string effortMemberPath,
	string completedEffortMemberPath,
	string assignmentsMemberPath,
	string assignmentResourceItemMemberPath,
	string assignmentAllocationUnitsMemberPath,
	string predecessorsMemberPath,
	string predecessorTaskItemMemberPath,
	string predecessorDependencyTypeMemberPath,
	string predecessorLagMemberPath,
	string durationMemberPath,
	string finishMemberPath,
	string isMilestoneMemberPath,
	string completionMemberPath,
	string isCompletedMemberPath,
	string assignmentsStringMemberPath,
	string indexStringMemberPath,
	string predecessorsStringMemberPath,
	string costMemberPath,
	string minStartMemberPath,
	string maxStartMemberPath,
	string minFinishMemberPath,
	string maxFinishMemberPath,
	Entity..::.Initialization completingParentManagerInitialization,
	Entity..::.Initialization insertedIntoParentCollectionInitialization,
	Entity..::.Initialization removingFromParentCollectionInitialization,
	Entity..::.Initialization disposingInitialization
)
Visual Basic (Declaration)
Protected Friend Sub New ( _
	item As Object, _
	indentationMemberPath As String, _
	isExpandedMemberPath As String, _
	contentMemberPath As String, _
	scheduleMemberPath As String, _
	startMemberPath As String, _
	effortMemberPath As String, _
	completedEffortMemberPath As String, _
	assignmentsMemberPath As String, _
	assignmentResourceItemMemberPath As String, _
	assignmentAllocationUnitsMemberPath As String, _
	predecessorsMemberPath As String, _
	predecessorTaskItemMemberPath As String, _
	predecessorDependencyTypeMemberPath As String, _
	predecessorLagMemberPath As String, _
	durationMemberPath As String, _
	finishMemberPath As String, _
	isMilestoneMemberPath As String, _
	completionMemberPath As String, _
	isCompletedMemberPath As String, _
	assignmentsStringMemberPath As String, _
	indexStringMemberPath As String, _
	predecessorsStringMemberPath As String, _
	costMemberPath As String, _
	minStartMemberPath As String, _
	maxStartMemberPath As String, _
	minFinishMemberPath As String, _
	maxFinishMemberPath As String, _
	completingParentManagerInitialization As Entity..::.Initialization, _
	insertedIntoParentCollectionInitialization As Entity..::.Initialization, _
	removingFromParentCollectionInitialization As Entity..::.Initialization, _
	disposingInitialization As Entity..::.Initialization _
)

Parameters

item
Type: System..::.Object
Source task item to be wrapped by the Task.
indentationMemberPath
Type: System..::.String
Path to an Int32 value on the source task item to serve as the indentation level in the hierarchical collection, or null to indicate that the indentation level is not provided by the source task item.
isExpandedMemberPath
Type: System..::.String
Path to a Boolean value on the source task item to serve as the expansion indicator in the hierarchical collection, or null to indicate that the expansion indicator is not provided by the source task item.
contentMemberPath
Type: System..::.String
Path to an Object value on the source task item to serve as the task content, or null to indicate that the content is not provided by the source task item.
scheduleMemberPath
Type: System..::.String
Path to a Schedule value on the source task item to serve as the task schedule, or null to indicate that the schedule is not provided by the source task item.
startMemberPath
Type: System..::.String
Path to a DateTime value on the source task item to serve as the task start date and time, or null to indicate that the start date and time is not provided by the source task item.
effortMemberPath
Type: System..::.String
Path to a TimeSpan value on the source task item to serve as the task effort, or null to indicate that the effort is not provided by the wrapped object.
completedEffortMemberPath
Type: System..::.String
Path to a TimeSpan value on the source task item to serve as the task completed effort, or null to indicate that the completed effort is not provided by the wrapped object.
assignmentsMemberPath
Type: System..::.String
Path to an IEnumerable value on the source task item to serve as the task assignment item collection, or null to indicate that the assignment item collection is not provided by the source task item.
assignmentResourceItemMemberPath
Type: System..::.String
Path to an Object value on a source task assignment item to serve as the assigned resource item, or null to indicate that the assigned resource item is not provided by the source task assignment item.
assignmentAllocationUnitsMemberPath
Type: System..::.String
Path to a Double value on a source task assignment item to serve as the assigned allocation units value, or null to indicate that the allocation units value is not provided by the source task assignment item.
predecessorsMemberPath
Type: System..::.String
Path to an IEnumerable value on the source task item to serve as the task predecessor item collection, or null to indicate that the predecessor item collection is not provided by the source task item.
predecessorTaskItemMemberPath
Type: System..::.String
Path to an Object value on a source task predecessor item to serve as the predecessor task item, or null to indicate that the task item is not provided by the source task predecessor item.
predecessorDependencyTypeMemberPath
Type: System..::.String
Path to a DependencyType value on a source task predecessor item to serve as the predecessor dependency type, or null to indicate that the dependency type is not provided by the source task predecessor item.
predecessorLagMemberPath
Type: System..::.String
Path to a TimeSpan value on a source task predecessor item to serve as the predecessor lag, or null to indicate that the lag is not provided by the source task predecessor item.
durationMemberPath
Type: System..::.String
Path to a TimeSpan value on the source task item to serve as the task duration, or null to indicate that the duration is not provided by the source task item.
finishMemberPath
Type: System..::.String
Path to a DateTime value on the source task item to serve as the task finish date and time, or null to indicate that the finish date and time is not provided by the source task item.
isMilestoneMemberPath
Type: System..::.String
Path to a Boolean value on the source task item to serve as the task milestone indicator, or null to indicate that the milestone indicator is not provided by the source task item.
completionMemberPath
Type: System..::.String
Path to a Double value on the source task item to serve as the task completion rate, or null to indicate that the completion rate is not provided by the source task item.
isCompletedMemberPath
Type: System..::.String
Path to a Boolean value on the source task item to serve as the task completed indicator, or null to indicate that the completed indicator is not provided by the source task item.
assignmentsStringMemberPath
Type: System..::.String
Path to a String value on the source task item to serve as a string representation of the task assignment item collection, or null to indicate that the string representation of the assignment item collection is not provided by the source task item.
indexStringMemberPath
Type: System..::.String
Path to a String value on the source task item to serve as a string representation of the index of the task item, or null to indicate that the string representation of the index is not provided by the source task item.
predecessorsStringMemberPath
Type: System..::.String
Path to a String value on the source task item to serve as a string representation of the task predecessor item collection, or null to indicate that the string representation of the predecessor item collection is not provided by the source task item.
costMemberPath
Type: System..::.String
Path to a Double value on the source task item to serve as the task cost, or null to indicate that the cost is not provided by the source task item.
minStartMemberPath
Type: System..::.String
Path to a nullable DateTime value on the source task item to serve as the task minimum start date and time, or null to indicate that the minimum start date and time is not provided by the source task item.
maxStartMemberPath
Type: System..::.String
Path to a nullable DateTime value on the source task item to serve as the task maximum start date and time, or null to indicate that the maximum start date and time is not provided by the source task item.
minFinishMemberPath
Type: System..::.String
Path to a nullable DateTime value on the source task item to serve as the task minimum finish date and time, or null to indicate that the minimum finish date and time is not provided by the source task item.
maxFinishMemberPath
Type: System..::.String
Path to a nullable DateTime value on the source task item to serve as the task maximum finish date and time, or null to indicate that the maximum finish date and time is not provided by the source task item.
completingParentManagerInitialization
Type: DlhSoft.Windows.Data..::.Entity..::.Initialization
A method to be called when the initialization of the parent EntityManager is completed.
insertedIntoParentCollectionInitialization
Type: DlhSoft.Windows.Data..::.Entity..::.Initialization
A method to be called when the Task is inserted into the parent collection.
removingFromParentCollectionInitialization
Type: DlhSoft.Windows.Data..::.Entity..::.Initialization
A method to be called when the Task is removed from the parent collection.
disposingInitialization
Type: DlhSoft.Windows.Data..::.Entity..::.Initialization
A method to be called when the Task is disposed.

See Also