DelegateStoppingConditionConstraintCheckForSameDefinition Method (DelegateStoppingConditionConstraint) |
Checks to determine if another instance has the same definition as this instance and
returns
if it does. Derived classes MUST override this method and check
all new fields introduced by the derived class for definitional equivalence. It is NOT necessary
to check base class fields because the base class will already have done that. When overriding this method,
you should NOT call the base implementation because it will return
for all derived-class instances.
Derived classes should check the type of
other to preserve the symmetric nature of
IsSameDefinition(Object).
Namespace:
AGI.Foundation.StoppingConditions
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax protected virtual bool CheckForSameDefinition(
DelegateStoppingConditionConstraint other
)
Protected Overridable Function CheckForSameDefinition (
other As DelegateStoppingConditionConstraint
) As Boolean
protected:
virtual bool CheckForSameDefinition(
DelegateStoppingConditionConstraint^ other
)
abstract CheckForSameDefinition :
other : DelegateStoppingConditionConstraint -> bool
override CheckForSameDefinition :
other : DelegateStoppingConditionConstraint -> bool
Parameters
- other
- Type: AGI.Foundation.StoppingConditionsDelegateStoppingConditionConstraint
The other instance to compare to this one.
Return Value
Type:
Boolean if the two objects are defined equivalently; otherwise
.
See Also