Gets a collection of NetworkDiagramItem objects that may be used as an item collection within an associated INetworkDiagramView control.

Namespace:  DlhSoft.Windows.Controls.Pert
Assembly:  DlhSoft.ProjectData.PertChart.LightWPF.Controls (in DlhSoft.ProjectData.PertChart.LightWPF.Controls.dll)

Syntax

C#
public static ObservableCollection<NetworkDiagramItem> GetNetworkDiagramItems(
	IEnumerable<NetworkDiagramView..::.IActivityItem> activityItems,
	NetworkDiagramView..::.GetNextWorkingTimeDelegate getNextWorkingTimeDelegate,
	NetworkDiagramView..::.GetNextWorkingTimeDelegate getPreviousWorkingTimeDelegate,
	NetworkDiagramView..::.GetFinishDelegate getFinishDelegate,
	NetworkDiagramView..::.GetEffortDelegate getEffortDelegate,
	int maxIndentation,
	string startContent,
	string finishContent
)
Visual Basic (Declaration)
Public Shared Function GetNetworkDiagramItems ( _
	activityItems As IEnumerable(Of NetworkDiagramView..::.IActivityItem), _
	getNextWorkingTimeDelegate As NetworkDiagramView..::.GetNextWorkingTimeDelegate, _
	getPreviousWorkingTimeDelegate As NetworkDiagramView..::.GetNextWorkingTimeDelegate, _
	getFinishDelegate As NetworkDiagramView..::.GetFinishDelegate, _
	getEffortDelegate As NetworkDiagramView..::.GetEffortDelegate, _
	maxIndentation As Integer, _
	startContent As String, _
	finishContent As String _
) As ObservableCollection(Of NetworkDiagramItem)

Parameters

activityItems
Type: System.Collections.Generic..::.IEnumerable<(Of <(NetworkDiagramView..::.IActivityItem>)>)
The activity items to convert.
getNextWorkingTimeDelegate
Type: DlhSoft.Windows.Controls.Pert..::.NetworkDiagramView..::.GetNextWorkingTimeDelegate
An optional method that returns the next working time after a specific date and time value.
getPreviousWorkingTimeDelegate
Type: DlhSoft.Windows.Controls.Pert..::.NetworkDiagramView..::.GetNextWorkingTimeDelegate
An optional method that returns the previous working time before a specific date and time value.
getFinishDelegate
Type: DlhSoft.Windows.Controls.Pert..::.NetworkDiagramView..::.GetFinishDelegate
An optional method that returns the finish value based on specific start and effort values.
getEffortDelegate
Type: DlhSoft.Windows.Controls.Pert..::.NetworkDiagramView..::.GetEffortDelegate
An optional method that returns the effort value based on specific start and finish values.
maxIndentation
Type: System..::.Int32
The maximum indentation to consider.
startContent
Type: System..::.String
The content to be set on the start task.
finishContent
Type: System..::.String
The content to be set on the finish task.

See Also