|
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.242-beta+5de70bd1c87865d409ebc16b8886196644c0c750
SyntaxJavaScript 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