Click or drag to resize

EvaluatorHelper.AllEvaluatorsAreThreadSafe<T> Method (IEnumerable<T>)

Determines if every evaluator in a collection is thread safe. Any evaluators in the collection 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)
Syntax
public static bool AllEvaluatorsAreThreadSafe<T>(
	IEnumerable<T> evaluators
)
where T : IThreadAware

Parameters

evaluators
Type: System.Collections.Generic.IEnumerable<T>
The collection of evaluators.

Type Parameters

T
The type of evaluator.

Return Value

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