Initializes a new instance of the Assignment class.

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

Syntax

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

Parameters

item
Type: System..::.Object
Assignment item to be wrapped by the Assignment.
resourceItemMemberPath
Type: System..::.String
Path to an Object value on the source assignment item to serve as the assigned resource item, or null to indicate that the resource item is not provided by the source assignment item.
allocationUnitsMemberPath
Type: System..::.String
Path to a Double value on the source 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 assignment 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 Assignment is inserted into the parent collection.
removingFromParentCollectionInitialization
Type: DlhSoft.Windows.Data..::.Entity..::.Initialization
A method to be called when the Assignment is removed from the parent collection.
disposingInitialization
Type: DlhSoft.Windows.Data..::.Entity..::.Initialization
A method to be called when the Assignment is disposed.

See Also