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
)
Protected Overrides Function CreateSegmentPropagator (
group As EvaluatorGroup,
previousSegment As SegmentDefinition
) As SegmentPropagator
protected:
virtual SegmentPropagator^ CreateSegmentPropagator(
EvaluatorGroup^ group,
SegmentDefinition^ previousSegment
) override
abstract CreateSegmentPropagator :
group : EvaluatorGroup *
previousSegment : SegmentDefinition -> SegmentPropagator
override CreateSegmentPropagator :
group : EvaluatorGroup *
previousSegment : SegmentDefinition -> SegmentPropagator
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:
SegmentPropagatorThe
propagator for this segment.
See Also