Initializes a new instance of the TaskManager class.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)
Syntax
| C# |
|---|
public TaskManager( IEnumerable items, string indentationMemberPath, string isExpandedMemberPath, string contentMemberPath, string scheduleMemberPath, string startMemberPath, string effortMemberPath, string completedEffortMemberPath, string assignmentsMemberPath, string assignmentResourceItemMemberPath, string assignmentAllocationUnitsMemberPath, string predecessorsMemberPath, string predecessorTaskItemMemberPath, string predecessorDependencyTypeMemberPath, string predecessorLagMemberPath, string durationMemberPath, string finishMemberPath, string isMilestoneMemberPath, string completionMemberPath, string isCompletedMemberPath, string assignmentsStringMemberPath, string indexStringMemberPath, string predecessorsStringMemberPath, string costMemberPath, string minStartMemberPath, string maxStartMemberPath, string minFinishMemberPath, string maxFinishMemberPath, ResourceManager assignableResourceManager, Schedule schedule, bool areEffortValueConstraintsEnabled, bool areDependencyConstraintsEnabled, bool areSummaryValueConstraintsEnabled, EntityManager..::.Initialization initialization, EntityManager..::.Initialization disposingInitialization ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ items As IEnumerable, _ indentationMemberPath As String, _ isExpandedMemberPath As String, _ contentMemberPath As String, _ scheduleMemberPath As String, _ startMemberPath As String, _ effortMemberPath As String, _ completedEffortMemberPath As String, _ assignmentsMemberPath As String, _ assignmentResourceItemMemberPath As String, _ assignmentAllocationUnitsMemberPath As String, _ predecessorsMemberPath As String, _ predecessorTaskItemMemberPath As String, _ predecessorDependencyTypeMemberPath As String, _ predecessorLagMemberPath As String, _ durationMemberPath As String, _ finishMemberPath As String, _ isMilestoneMemberPath As String, _ completionMemberPath As String, _ isCompletedMemberPath As String, _ assignmentsStringMemberPath As String, _ indexStringMemberPath As String, _ predecessorsStringMemberPath As String, _ costMemberPath As String, _ minStartMemberPath As String, _ maxStartMemberPath As String, _ minFinishMemberPath As String, _ maxFinishMemberPath As String, _ assignableResourceManager As ResourceManager, _ schedule As Schedule, _ areEffortValueConstraintsEnabled As Boolean, _ areDependencyConstraintsEnabled As Boolean, _ areSummaryValueConstraintsEnabled As Boolean, _ initialization As EntityManager..::.Initialization, _ disposingInitialization As EntityManager..::.Initialization _ ) |
Parameters
- items
- Type: System.Collections..::.IEnumerable
Collection of task items to be managed.
- indentationMemberPath
- Type: System..::.String
Path to an Int32 value on the source task item to serve as the indentation level in the hierarchical collection, or null to indicate that the indentation level is not provided by the source task item.
- isExpandedMemberPath
- Type: System..::.String
Path to a Boolean value on the source task item to serve as the expansion indicator in the hierarchical collection, or null to indicate that the expansion indicator is not provided by the source task item.
- contentMemberPath
- Type: System..::.String
Path to an Object value on the source task item to serve as the task content, or null to indicate that the content is not provided by the source task item.
- scheduleMemberPath
- Type: System..::.String
Path to a Schedule value on the source task item to serve as the task schedule, or null to indicate that the schedule is not provided by the source task item.
- startMemberPath
- Type: System..::.String
Path to a DateTime value on the source task item to serve as the task start date and time, or null to indicate that the start date and time is not provided by the source task item.
- effortMemberPath
- Type: System..::.String
Path to a TimeSpan value on the source task item to serve as the task effort, or null to indicate that the effort is not provided by the wrapped object.
- completedEffortMemberPath
- Type: System..::.String
Path to a TimeSpan value on the source task item to serve as the task completed effort, or null to indicate that the completed effort is not provided by the wrapped object.
- assignmentsMemberPath
- Type: System..::.String
Path to an IEnumerable value on the source task item to serve as the task assignment item collection, or null to indicate that the assignment item collection is not provided by the source task item.
- assignmentResourceItemMemberPath
- Type: System..::.String
Path to an Object value on a source task assignment item to serve as the assigned resource item, or null to indicate that the assigned resource item is not provided by the source task assignment item.
- assignmentAllocationUnitsMemberPath
- Type: System..::.String
Path to a Double value on a source task 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 task assignment item.
- predecessorsMemberPath
- Type: System..::.String
Path to an IEnumerable value on the source task item to serve as the task predecessor item collection, or null to indicate that the predecessor item collection is not provided by the source task item.
- predecessorTaskItemMemberPath
- Type: System..::.String
Path to an Object value on a source task predecessor item to serve as the predecessor task item, or null to indicate that the task item is not provided by the source task predecessor item.
- predecessorDependencyTypeMemberPath
- Type: System..::.String
Path to a DependencyType value on a source task predecessor item to serve as the predecessor dependency type, or null to indicate that the dependency type is not provided by the source task predecessor item.
- predecessorLagMemberPath
- Type: System..::.String
Path to a TimeSpan value on a source task predecessor item to serve as the predecessor lag, or null to indicate that the lag is not provided by the source task predecessor item.
- durationMemberPath
- Type: System..::.String
Path to a TimeSpan value on the source task item to serve as the task duration, or null to indicate that the duration is not provided by the source task item.
- finishMemberPath
- Type: System..::.String
Path to a DateTime value on the source task item to serve as the task finish date and time, or null to indicate that the finish date and time is not provided by the source task item.
- isMilestoneMemberPath
- Type: System..::.String
Path to a Boolean value on the source task item to serve as the task milestone indicator, or null to indicate that the milestone indicator is not provided by the source task item.
- completionMemberPath
- Type: System..::.String
Path to a Double value on the source task item to serve as the task completion rate, or null to indicate that the completion rate is not provided by the source task item.
- isCompletedMemberPath
- Type: System..::.String
Path to a Boolean value on the source task item to serve as the task completed indicator, or null to indicate that the completed indicator is not provided by the source task item.
- assignmentsStringMemberPath
- Type: System..::.String
Path to a String value on the source task item to serve as a string representation of the task assignment item collection, or null to indicate that the string representation of the assignment item collection is not provided by the source task item.
- indexStringMemberPath
- Type: System..::.String
Path to a String value on the source task item to serve as a string representation of the index of the task item, or null to indicate that the string representation of the index is not provided by the source task item.
- predecessorsStringMemberPath
- Type: System..::.String
Path to a String value on the source task item to serve as a string representation of the task predecessor item collection, or null to indicate that the string representation of the predecessor item collection is not provided by the source task item.
- costMemberPath
- Type: System..::.String
Path to a Double value on the source task item to serve as the task cost, or null to indicate that the cost is not provided by the source task item.
- minStartMemberPath
- Type: System..::.String
Path to a nullable DateTime value on the source task item to serve as the task minimum start date and time, or null to indicate that the minimum start date and time is not provided by the source task item.
- maxStartMemberPath
- Type: System..::.String
Path to a nullable DateTime value on the source task item to serve as the task maximum start date and time, or null to indicate that the maximum start date and time is not provided by the source task item.
- minFinishMemberPath
- Type: System..::.String
Path to a nullable DateTime value on the source task item to serve as the task minimum finish date and time, or null to indicate that the minimum finish date and time is not provided by the source task item.
- maxFinishMemberPath
- Type: System..::.String
Path to a nullable DateTime value on the source task item to serve as the task maximum finish date and time, or null to indicate that the maximum finish date and time is not provided by the source task item.
- 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.
- initialization
- Type: DlhSoft.Windows.Data..::.EntityManager..::.Initialization
A method to be called when the TaskManager initializes.
- disposingInitialization
- Type: DlhSoft.Windows.Data..::.EntityManager..::.Initialization
A method to be called when the TaskManager is disposed.