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: 25.2.423.0 (25.2.423.0)
Syntaxpublic void ForceEvaluatorToBeCached(
IEvaluator evaluator
)
Public Sub ForceEvaluatorToBeCached (
evaluator As IEvaluator
)
public:
void ForceEvaluatorToBeCached(
IEvaluator^ evaluator
)
member ForceEvaluatorToBeCached :
evaluator : IEvaluator -> unit
Parameters
- evaluator
- Type: AGI.FoundationIEvaluator
The evaluator to cache.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | Thrown when evaluator is . |
| ArgumentException | Thrown when evaluator is not present in this group. |
See Also