Click or drag to resize

SegmentPropagatorUpdateProgressTrackerAndReturnIfCanceled Method

A helper method to handle the progress tracker that the various Propagate methods have. Because how long propagation will take cannot be known ahead of time, the progress is reported as -1. You can however use the progress tracker to cancel propagation.

Namespace:  AGI.Foundation.SegmentPropagation
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 20.2.404.0 (20.2.404.0)
public static bool UpdateProgressTrackerAndReturnIfCanceled(
	ITrackCalculationProgress progressTracker


Type: AGI.FoundationITrackCalculationProgress
The progress tracker that can be used to cancel propagation.

Return Value

Type: Boolean
if propagation should stop; otherwise .
See Also