Initializes a new instance of the PredecessorManager class.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)
Syntax
| C# |
|---|
public PredecessorManager( Task parentTask, IEnumerable items, string taskItemMemberPath, string dependencyTypeMemberPath, string lagMemberPath, EntityManager..::.Initialization initialization, EntityManager..::.Initialization disposingInitialization ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ parentTask As Task, _ items As IEnumerable, _ taskItemMemberPath As String, _ dependencyTypeMemberPath As String, _ lagMemberPath As String, _ initialization As EntityManager..::.Initialization, _ disposingInitialization As EntityManager..::.Initialization _ ) |
Parameters
- parentTask
- Type: DlhSoft.Windows.Data..::.Task
Parent task that owns the PredecessorManager or null if the manager has no parent task.
- items
- Type: System.Collections..::.IEnumerable
Collection of predecessor items to be managed.
- 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.
- initialization
- Type: DlhSoft.Windows.Data..::.EntityManager..::.Initialization
A method to be called when the PredecessorManager initializes.
- disposingInitialization
- Type: DlhSoft.Windows.Data..::.EntityManager..::.Initialization
A method to be called when the PredecessorManager is disposed.