Initializes a new instance of the TaskManager class.
The initial values of the data member properties are set to appropriate property paths for using TaskItem, AssignmentItem, and PredecessorItem objects.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)
Syntax
| C# |
|---|
public TaskManager( Entity parentEntity, IEnumerable items, ResourceManager assignableResourceManager, Schedule schedule, bool areEffortValueConstraintsEnabled, bool areDependencyConstraintsEnabled, bool areSummaryValueConstraintsEnabled ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ parentEntity As Entity, _ items As IEnumerable, _ assignableResourceManager As ResourceManager, _ schedule As Schedule, _ areEffortValueConstraintsEnabled As Boolean, _ areDependencyConstraintsEnabled As Boolean, _ areSummaryValueConstraintsEnabled As Boolean _ ) |
Parameters
- parentEntity
- Type: DlhSoft.Windows.Data..::.Entity
Parent entity that owns the TaskManager or null if the manager has no parent entity.
- items
- Type: System.Collections..::.IEnumerable
Collection of task items to be managed.
- assignableResourceManager
- Type: DlhSoft.Windows.Data..::.ResourceManager
The ResourceManager object to be used internally for managing assignable resources used by this TaskManager.
- schedule
- Type: DlhSoft.Windows.Data..::.Schedule
The schedule to be used as default schedule for the tasks.
- areEffortValueConstraintsEnabled
- Type: System..::.Boolean
Indicates whether the effort value constaints are enabled.
- areDependencyConstraintsEnabled
- Type: System..::.Boolean
Indicates whether the dependency constaints are enabled.
- areSummaryValueConstraintsEnabled
- Type: System..::.Boolean
Indicates whether the summary value constaints are enabled.