Click or drag to resize

SegmentListCreateSegmentPropagator Method

Creates, configures, and returns the SegmentPropagator for this segment. This method should check that all of the required properties on the concrete instance are configured properly before constructing the SegmentPropagator to be returned.

Namespace:  AGI.Foundation.SegmentPropagation
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
protected override SegmentPropagator CreateSegmentPropagator(
	EvaluatorGroup group,
	SegmentDefinition previousSegment
)

Parameters

group
Type: AGI.FoundationEvaluatorGroup
The group to use during creation.
previousSegment
Type: AGI.Foundation.SegmentPropagationSegmentDefinition
The previous segment. Some segments will require the previousSegment to be set, whereas other will require that the previous segment not be , whereas others will only use information from it if provided. It is up to you writing a concrete type to enforce what makes sense for your particular segment in this method.

Return Value

Type: SegmentPropagator
The propagator for this segment.
See Also