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.3.420.0 (24.3.420.0)
Syntax public static bool AllEvaluatorsAreThreadSafe<T>(
IEnumerable<T> evaluators
)
where T : IThreadAware
Public Shared Function AllEvaluatorsAreThreadSafe(Of T As IThreadAware) (
evaluators As IEnumerable(Of T)
) As Boolean
public:
generic<typename T>
where T : IThreadAware
static bool AllEvaluatorsAreThreadSafe(
IEnumerable<T>^ evaluators
)
static member AllEvaluatorsAreThreadSafe :
evaluators : IEnumerable<'T> -> bool when '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 See Also