EvaluatorHelper.AllEvaluatorsAreThreadSafe Method (IThreadAware, IThreadAware) |
Determines if every evaluator given is thread safe.
Any evaluators that are null are ignored.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic static bool AllEvaluatorsAreThreadSafe(
IThreadAware evaluator1,
IThreadAware evaluator2
)
Public Shared Function AllEvaluatorsAreThreadSafe (
evaluator1 As IThreadAware,
evaluator2 As IThreadAware
) As Boolean
public:
static bool AllEvaluatorsAreThreadSafe(
IThreadAware^ evaluator1,
IThreadAware^ evaluator2
)
static member AllEvaluatorsAreThreadSafe :
evaluator1 : IThreadAware *
evaluator2 : IThreadAware -> bool
Parameters
- evaluator1
- Type: AGI.Foundation.Infrastructure.IThreadAware
The first evaluator. - evaluator2
- Type: AGI.Foundation.Infrastructure.IThreadAware
The second evaluator.
Return Value
Type:
Booleantrue if every non-null evaluator given is thread safe; otherwise
false.
See Also