Iterates predecessor items of the specified item satisfying the specified dependency type condition in the Gantt Chart related collection as GanttChartItem objects.
Namespace:
DlhSoft.Web.MvcAssembly: DlhSoft.ProjectData.GanttChart.Mvc.Extensions (in DlhSoft.ProjectData.GanttChart.Mvc.Extensions.dll)
Syntax
| C# |
|---|
public IEnumerable<GanttChartItem> GetPredecessors( GanttChartItem item, Predicate<DependencyType> dependencyTypeCondition ) |
| Visual Basic (Declaration) |
|---|
Public Function GetPredecessors ( _ item As GanttChartItem, _ dependencyTypeCondition As Predicate(Of DependencyType) _ ) As IEnumerable(Of GanttChartItem) |
Parameters
- item
- Type: DlhSoft.Web.Mvc..::.GanttChartItem
- dependencyTypeCondition
- Type: System..::.Predicate<(Of <(DependencyType>)>)