Iterates the list of standard task assignments (defined as task items and associated allocation units) for 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%]").
Namespace:
DlhSoft.Web.MvcAssembly: DlhSoft.ProjectData.GanttChart.Mvc.Extensions (in DlhSoft.ProjectData.GanttChart.Mvc.Extensions.dll)
Syntax
| C# |
|---|
public override IEnumerable<KeyValuePair<GanttChartItem, double>> GetAssignments( string resourceName ) |
| Visual Basic (Declaration) |
|---|
Public Overrides Function GetAssignments ( _ resourceName As String _ ) As IEnumerable(Of KeyValuePair(Of GanttChartItem, Double)) |
Parameters
- resourceName
- Type: System..::.String
The resource name to get the assignments of.