|
CollectionExtensionsAllParallelTSource Method
|
Determines whether all elements of a sequence satisfy a condition with each item being tested in parallel.
Namespace: GSF.CollectionsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.220-beta+a56b2444ff27b37e053039e60f062b99378309bd
Syntax JavaScript does not support generic types or methods.
View SourceParameters
- source IEnumerableTSource
- An IEnumerableT that contains the elements to apply the predicate to.
- predicate FuncTSource, Boolean
- A function to test each element for a condition.
- options ParallelOptions (Optional)
- Any ParallelOptions to apply.
Type Parameters
- TSource
- The type of the elements of source.
Return Value
Booleantrue if every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise,
false.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableTSource. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions See Also