Initializes a new instance of the AssignmentManager class.

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

Syntax

C#
public AssignmentManager(
	Task parentTask,
	IEnumerable items,
	string resourceItemMemberPath,
	string allocationUnitsMemberPath,
	EntityManager..::.Initialization initialization,
	EntityManager..::.Initialization disposingInitialization
)
Visual Basic (Declaration)
Public Sub New ( _
	parentTask As Task, _
	items As IEnumerable, _
	resourceItemMemberPath As String, _
	allocationUnitsMemberPath As String, _
	initialization As EntityManager..::.Initialization, _
	disposingInitialization As EntityManager..::.Initialization _
)

Parameters

parentTask
Type: DlhSoft.Windows.Data..::.Task
Parent task that owns the AssignmentManager or null if the manager has no parent task.
items
Type: System.Collections..::.IEnumerable
Collection of assignment items to be managed.
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.
initialization
Type: DlhSoft.Windows.Data..::.EntityManager..::.Initialization
A method to be called when the AssignmentManager initializes.
disposingInitialization
Type: DlhSoft.Windows.Data..::.EntityManager..::.Initialization
A method to be called when the AssignmentManager is disposed.

See Also