DelegateStoppingCondition Constructor (DelegateStoppingCondition, CopyContext) |
Initializes a new instance as a copy of an existing instance.
Namespace:
AGI.Foundation.StoppingConditions
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxprotected DelegateStoppingCondition(
DelegateStoppingCondition existingInstance,
CopyContext context
)
Protected Sub New (
existingInstance As DelegateStoppingCondition,
context As CopyContext
)
protected:
DelegateStoppingCondition(
DelegateStoppingCondition^ existingInstance,
CopyContext^ context
)
new :
existingInstance : DelegateStoppingCondition *
context : CopyContext -> DelegateStoppingConditionParameters
- existingInstance
- Type: AGI.Foundation.StoppingConditionsDelegateStoppingCondition
The existing instance to copy. - context
- Type: AGI.Foundation.InfrastructureCopyContext
A CopyContext that controls the depth of the copy.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException |
Thrown when existingInstance or context is .
|
Remarks
See
Clone(CopyContext) for more information about how to implement this constructor
in a derived class.
See Also