Condition.All Method
Enables exploration of the enclosing rule if a predicate is true for all elements of a collection.
Namespace: Microsoft.Modeling
Assembly: Microsoft.Xrt.Runtime (in Microsoft.Xrt.Runtime.dll)
Usage
'Usage
Syntax
'Declaration
public static void All<T> (
IEnumerable<T> source,
Func<T,bool> predicate
)
GenericParameters
- T
The type of the elements in the collection.
Parameters
- source
The collection against which the predicate is evaluated.
- predicate
The condition used to evaluate elements of the collection.
Remarks
If there exists any element in source for which predicate evaluates to false, then Spec Explorer does not explore the rule.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003
See Also
Reference
Condition Class
Condition Members
Microsoft.Modeling Namespace
Exists