Iterates the list of assignments (defined as resource names and associated allocation units) from a specific task within the control.
Requires that AssignmentsContent property of the task item 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%]").
Namespace:
DlhSoft.Web.MvcAssembly: DlhSoft.ProjectData.GanttChart.Mvc.Extensions (in DlhSoft.ProjectData.GanttChart.Mvc.Extensions.dll)
Syntax
| C# |
|---|
public IEnumerable<KeyValuePair<string, double>> GetAssignments( GanttChartItem item ) |
| Visual Basic (Declaration) |
|---|
Public Function GetAssignments ( _ item As GanttChartItem _ ) As IEnumerable(Of KeyValuePair(Of String, Double)) |
Parameters
- item
- Type: DlhSoft.Web.Mvc..::.GanttChartItem
The task item to get the assignments of.