Initializes a new instance of the TaskManager class using simple data management mode.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)
Syntax
| C# |
|---|
public TaskManager( Entity parentEntity, IEnumerable<SimpleTaskItem> simpleTaskItems, ResourceManager assignableResourceManager, Schedule schedule ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ parentEntity As Entity, _ simpleTaskItems As IEnumerable(Of SimpleTaskItem), _ assignableResourceManager As ResourceManager, _ schedule As Schedule _ ) |
Parameters
- parentEntity
- Type: DlhSoft.Windows.Data..::.Entity
Parent entity that owns the TaskManager or null if the manager has no parent entity.
- simpleTaskItems
- Type: System.Collections.Generic..::.IEnumerable<(Of <(SimpleTaskItem>)>)
Item definitions representing tasks to be initially added to the collection.
- 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.