Contract.ForAll Method

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Determines whether a particular condition is valid for all integers in a specified range.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member ForAll<T>(IEnumerable<T>, Predicate<T>) Determines whether all the elements in a collection exist within a function.
Public methodStatic member ForAll(Int32, Int32, Predicate<Int32>) Determines whether a particular condition is valid for all integers in a specified range.

Top