Initializes a new instance of the Predecessor class.

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

Syntax

C#
protected internal Predecessor(
	Object item,
	string taskItemMemberPath,
	string dependencyTypeMemberPath,
	string lagMemberPath,
	Entity..::.Initialization completingParentManagerInitialization,
	Entity..::.Initialization insertedIntoParentCollectionInitialization,
	Entity..::.Initialization removingFromParentCollectionInitialization,
	Entity..::.Initialization disposingInitialization
)
Visual Basic (Declaration)
Protected Friend Sub New ( _
	item As Object, _
	taskItemMemberPath As String, _
	dependencyTypeMemberPath As String, _
	lagMemberPath As String, _
	completingParentManagerInitialization As Entity..::.Initialization, _
	insertedIntoParentCollectionInitialization As Entity..::.Initialization, _
	removingFromParentCollectionInitialization As Entity..::.Initialization, _
	disposingInitialization As Entity..::.Initialization _
)

Parameters

item
Type: System..::.Object
Predecessor item to be wrapped by the Predecessor.
taskItemMemberPath
Type: System..::.String
Path to an Object value on the source predecessor item to serve as the task item, or null to indicate that the task item is not provided by the source predecessor item.
dependencyTypeMemberPath
Type: System..::.String
Path to a DependencyType value on the source predecessor item to serve as the dependency type, or null to indicate that the dependency value is not provided by the source predecessor item.
lagMemberPath
Type: System..::.String
Path to a TimeSpan value on the source predecessor item to serve as the lag, or null to indicate that the lag is not provided by the source predecessor 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 Predecessor is inserted into the parent collection.
removingFromParentCollectionInitialization
Type: DlhSoft.Windows.Data..::.Entity..::.Initialization
A method to be called when the Predecessor is removed from the parent collection.
disposingInitialization
Type: DlhSoft.Windows.Data..::.Entity..::.Initialization
A method to be called when the Predecessor is disposed.

See Also