ReturnSegmentConfiguration Class |
Namespace: AGI.Foundation.SegmentPropagation
The ReturnSegmentConfiguration type exposes the following members.
Name | Description | |
---|---|---|
ReturnSegmentConfiguration(ReturnSegmentBehavior) | Initializes a new instance. | |
ReturnSegmentConfiguration(ReturnSegmentConfiguration, CopyContext) | Initializes a new instance as a copy of an existing instance. |
Name | Description | |
---|---|---|
DefaultInitialState |
Gets or sets the initial state of the segment. Note that this property may not be
edited by a SegmentPropagatorVariable.
(Inherited from SegmentConfiguration.) | |
IsNonNominalRunDifferent |
Gets a value indicating whether the associated SegmentPropagator will behave differently if it is
being run nominally or not. You should overload
this property to return if the specific segment type might behave differently in
an unofficial propagation. By default this returns indicating
that there is no difference.
(Overrides SegmentConfigurationIsNonNominalRunDifferent.) | |
NominalRun |
Gets or sets a value indicating whether this segment is being run normally and as such its results should be
included as the final results, or if this segment is being run as part of some other
operation (commonly this is set to to indicate if the segment is being run in a
TargetedSegmentListOperator). By default this is . Override this
property when one SegmentConfiguration manages another SegmentConfiguration
(as in the case of a SegmentList) and have the overridden setter set the property on all
wrapped configuration.
(Inherited from SegmentConfiguration.) | |
ReturnSegmentBehavior |
Gets or sets if the ReturnSegment that this configuration
is for will actually return or not. Note that the ReturnSegment
can behave differently if it is being run in a TargetedSegmentListOperator or not,
you should always check the NominalRun
when checking this property. Or, use the ActuallyEnabled instead of getting this property.
|
Name | Description | |
---|---|---|
ActuallyEnabled |
Gets if this segment is actually enabled or not. This will check both the
ReturnSegmentBehavior and
NominalRun, and return
if the appropriate combination of them would have the
ReturnSegment actually return; otherwise .
| |
Clone |
Clones this object using the specified context.
(Overrides SegmentConfigurationClone(CopyContext).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |