ImmutableArrayExtensions::All<T> Method (ImmutableArray<T>, Func<T, Boolean>^)
Gets a value indicating whether all elements in this array match a given condition.
Assembly: System.Collections.Immutable (in System.Collections.Immutable.dll)
public: generic<typename T> [ExtensionAttribute] static bool All( ImmutableArray<T> immutableArray, Func<T, bool>^ predicate )
Parameters
- immutableArray
-
Type:
System.Collections.Immutable::ImmutableArray<T>
The array to check for matches.
- predicate
-
Type:
System::Func<T, Boolean>^
The predicate.
Return Value
Type: System::Booleantrue if every element of the source sequence passes the test in the specified predicate; otherwise, false.
Type Parameters
- T
The type of element contained by the collection.
Show: