Click or drag to resize

EvaluatorGroupForceEvaluatorToBeCached Method

Forces an evaluator to be cached, even if it does not appear to be called by more than one other evaluator. This is useful when a single evaluator calls another evaluator in two different contexts, and the value should be cached between those two calls.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public void ForceEvaluatorToBeCached(
	IEvaluator evaluator
)

Parameters

evaluator
Type: AGI.FoundationIEvaluator
The evaluator to cache.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when evaluator is .
ArgumentExceptionThrown when evaluator is not present in this group.
See Also