Iterates the time interval based allocations from standard tasks assigned to a specific resource within the control.
Requires that AssignmentsContent property of the task items is of type string, formatted as a list of resource names separated by commas, optionally having associated allocation percents declared between square brackets (e.g.: "John, Mary [50%], Diane [12.5%]"),
or, in case of a Schedule Chart, formatted as an optional allocation percent (e.g.: "12.5%").
Namespace:
DlhSoft.Windows.ControlsAssembly: DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)
Syntax
C# |
---|
IEnumerable<KeyValuePair<TimeInterval, double>> GetAllocations( string resourceName ) |
Visual Basic (Declaration) |
---|
Function GetAllocations ( _ resourceName As String _ ) As IEnumerable(Of KeyValuePair(Of TimeInterval, Double)) |
Parameters
- resourceName
- Type: System..::.String
The resource name to get allocations for.