Click or drag to resize

EvaluatorHelperAllEvaluatorsAreThreadSafeT Method (IEnumerableT)

Determines if every evaluator in a collection is thread safe. Any evaluators in the collection that are are ignored.

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public static bool AllEvaluatorsAreThreadSafe<T>(
	IEnumerable<T> evaluators
)
where T : IThreadAware

Parameters

evaluators
Type: System.Collections.GenericIEnumerableT
The collection of evaluators.

Type Parameters

T
The type of evaluator.

Return Value

Type: Boolean
if every evaluator in the collection is thread safe; otherwise .
Exceptions
ExceptionCondition
ArgumentNullException Thrown when evaluators is .
See Also