Gets a value indicating whether the task is critical or not. A task is critical if it would generate delays in the project in case that it wouldn't be finished on time.

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)

Syntax

C#
public bool IsCritical(
	TimeSpan criticalDelay,
	DateTime projectFinishConstraint,
	IDictionary<Task, DateTime> taskFinishConstraints
)
Visual Basic (Declaration)
Public Function IsCritical ( _
	criticalDelay As TimeSpan, _
	projectFinishConstraint As DateTime, _
	taskFinishConstraints As IDictionary(Of Task, DateTime) _
) As Boolean

Parameters

criticalDelay
Type: System..::.TimeSpan
The minimum time interval that needs to exist between dependent tasks to avoid considering the critical state.
projectFinishConstraint
Type: System..::.DateTime
The project finish date and time constraint.
taskFinishConstraints
Type: System.Collections.Generic..::.IDictionary<(Of <(Task, DateTime>)>)
An optional set of task finish date and time constraint.

Return Value

A value indicating whether the task is critical or not.

See Also